Code Analysis: Cryptocurrency (Token), Launchpad (Presale), ICO & IDO, Airdrop by TokenICO 1.2.9

Function Rating Maintainability Complexity Lines of code
BeycanPress\TokenicoLite\PluginHero\Helpers::createRequirementRules()
D
30 37 96
BeycanPress\TokenicoLite\PostType\Metabox::__construct()
C
21
17 294
BeycanPress\TokenicoLite\Settings::__construct()
C
22
11 300
BeycanPress\TokenicoLite\PluginHero\Plugin::__construct()
A
43 12 47
BeycanPress\TokenicoLite\PluginHero\BaseAPI::addRoutes()
A
46 12 36
BeycanPress\TokenicoLite\Settings::getNetworks()
A
39 10 66
BeycanPress\TokenicoLite\Pages\SalesList::page()
A
37 8 75
BeycanPress\TokenicoLite\PluginHero\Table::createDataList()
A
50 11 25
BeycanPress\TokenicoLite\PluginHero\Page::__construct()
A
43 9 53
BeycanPress\TokenicoLite\Services\PresaleList::getPresales()
A
41 8 63
BeycanPress\TokenicoLite\PostType\Presale::column()
A
49 10 29
BeycanPress\TokenicoLite\PostType\Presale::__construct()
A
53 10 21
BeycanPress\TokenicoLite\Services\PresaleList::initSc()
A
42 7 51
BeycanPress\TokenicoLite\PluginHero\Setting::live()
S
53 7 22
BeycanPress\TokenicoLite\PluginHero\Http\Request::parseContent()
S
57 7 17
BeycanPress\TokenicoLite\Lang::get()
S
33 1 102
BeycanPress\TokenicoLite\Entity\Presale::getStatus()
S
57 6 17
BeycanPress\TokenicoLite\RestAPI::getDates()
S
50 5 29
BeycanPress\TokenicoLite\Loader::__construct()
S
45 4 43
BeycanPress\TokenicoLite\PluginHero\Plugins::__construct()
S
52 5 26
BeycanPress\TokenicoLite\PluginHero\Http\Request::getWithKey()
S
54 5 25
BeycanPress\TokenicoLite\PluginHero\Table::prepareDataList()
S
56 5 18
BeycanPress\TokenicoLite\PluginHero\BaseAPI::middlewareFilter()
S
57 5 16
BeycanPress\TokenicoLite\PluginHero\Http\Request::checkRequests()
S
59 5 15
BeycanPress\TokenicoLite\PluginHero\Http\Client::beforeSend()
S
59 5 14
BeycanPress\TokenicoLite\Services\PresaleList::registerPresale()
S
48 3 34
BeycanPress\TokenicoLite\Models\Sale::__construct()
S
46 2 47
BeycanPress\TokenicoLite\Services\PresaleList::loadAssets()
S
48 3 32
BeycanPress\TokenicoLite\PluginHero\Table::renderWpTable()
S
57 4 17
BeycanPress\TokenicoLite\PluginHero\Plugin::localization()
S
58 4 16
BeycanPress\TokenicoLite\PluginHero\Model\AbstractModel::search()
S
57 4 16
BeycanPress\TokenicoLite\PluginHero\Model\AbstractModel::findBy()
S
60 4 13
BeycanPress\TokenicoLite\PluginHero\Setting::__construct()
S
48 2 35
BeycanPress\TokenicoLite\PostType\Presale::init()
S
49 2 32
BeycanPress\TokenicoLite\PluginHero\Http\Response::readyErrorResponse()
S
63 4 9
BeycanPress\TokenicoLite\Services\PresaleContract::saveDeployedContract()
S
61 3 12
BeycanPress\TokenicoLite\Services\PresaleContract::getAbi()
S
62 3 11
BeycanPress\TokenicoLite\PluginHero\Table::prepare()
S
61 3 11
BeycanPress\TokenicoLite\Services\PresaleContract::getDeployedContracts()
S
48 1 40
BeycanPress\TokenicoLite\RestAPI::saveSaleTransaction()
S
53 2 21
BeycanPress\TokenicoLite\RestAPI::__construct()
S
51 1 34
BeycanPress\TokenicoLite\PluginHero\BaseAPI::getUrl()
S
63 3 10
BeycanPress\TokenicoLite\RestAPI::claimSuccessful()
S
59 2 15
BeycanPress\TokenicoLite\PluginHero\Entity::__get()
S
64 3 10
BeycanPress\TokenicoLite\Entity\Presale::__construct()
S
66 3 8
BeycanPress\TokenicoLite\Loader::adminProcess()
S
59 2 15
BeycanPress\TokenicoLite\PluginHero\Setting::getAll()
S
68 3 7
BeycanPress\TokenicoLite\Loader::uninstall()
S
67 3 7
BeycanPress\TokenicoLite\PluginHero\Http\Request::xmlParse()
S
60 2 14
BeycanPress\TokenicoLite\PluginHero\Http\Client::send()
S
60 2 13
BeycanPress\TokenicoLite\PluginHero\Http\Request::getHeaderParam()
S
63 2 11
BeycanPress\TokenicoLite\PluginHero\Http\Request::json()
S
63 2 11
BeycanPress\TokenicoLite\PostType\Presale::loadAssets()
S
52 1 24
BeycanPress\TokenicoLite\PluginHero\Model\AbstractModel::deleteColumn()
S
70 2 6
BeycanPress\TokenicoLite\PluginHero\Session::remove()
S
70 2 6
BeycanPress\TokenicoLite\PluginHero\Model\AbstractModel::findOneBy()
S
67 2 7
BeycanPress\TokenicoLite\PluginHero\Setting::get()
S
71 2 5
BeycanPress\TokenicoLite\Loader::frontEndProcess()
S
69 2 7
BeycanPress\TokenicoLite\Entity\Presale::getStaticNativeRate()
S
70 2 5
BeycanPress\TokenicoLite\PluginHero\Entity::isAvailable()
S
80 2 3
BeycanPress\TokenicoLite\PluginHero\Table::column_default()
S
68 2 7
BeycanPress\TokenicoLite\Entity\Presale::getStaticUsdRate()
S
73 2 4
BeycanPress\TokenicoLite\PluginHero\Http\Client::deleteOption()
S
71 2 6
BeycanPress\TokenicoLite\PluginHero\Http\Client::deleteOptions()
S
71 2 6
BeycanPress\TokenicoLite\Entity\Presale::getTokenSymbol()
S
79 2 3
BeycanPress\TokenicoLite\PluginHero\Http\Client::deleteHeader()
S
71 2 6
BeycanPress\TokenicoLite\PluginHero\Http\Client::addHeaders()
S
70 2 6
BeycanPress\TokenicoLite\PluginHero\Http\Client::deleteHeaders()
S
71 2 6
BeycanPress\TokenicoLite\PluginHero\Http\Client::ifIsJson()
S
67 2 8
BeycanPress\TokenicoLite\Entity\Presale::getUsdRate()
S
71 2 5
BeycanPress\TokenicoLite\PluginHero\Http\Client::__call()
S
69 2 6
BeycanPress\TokenicoLite\Services\PresaleContract::getContracts()
S
67 2 8
BeycanPress\TokenicoLite\PluginHero\Helpers::getIoncubeVersion()
S
66 2 8
BeycanPress\TokenicoLite\PluginHero\Http\Request::__construct()
S
72 2 5
BeycanPress\TokenicoLite\PluginHero\Http\Request::init()
S
71 2 6
BeycanPress\TokenicoLite\Settings::getNetworksForList()
S
65 2 9
BeycanPress\TokenicoLite\PluginHero\Http\Request::xml()
S
67 2 8
BeycanPress\TokenicoLite\PluginHero\Http\Request::isJson()
S
75 2 4
BeycanPress\TokenicoLite\PluginHero\Http\Request::isXml()
S
77 2 3
BeycanPress\TokenicoLite\PluginHero\Http\Request::isFormData()
S
77 2 3
BeycanPress\TokenicoLite\PluginHero\Http\Request::isQueryString()
S
74 2 4
BeycanPress\TokenicoLite\PluginHero\Table::__construct()
S
64 2 10
BeycanPress\TokenicoLite\PluginHero\Plugin::bpDismissNotice()
S
66 2 8
BeycanPress\TokenicoLite\PluginHero\Http\Request::parseFormData()
S
63 2 10
BeycanPress\TokenicoLite\PluginHero\Model\AbstractModel::prepare()
S
71 2 6
BeycanPress\TokenicoLite\PluginHero\Session::start()
S
74 2 5
BeycanPress\TokenicoLite\PluginHero\Session::set()
S
68 2 7
BeycanPress\TokenicoLite\PluginHero\Model\AbstractModel::addColumn()
S
67 2 7
BeycanPress\TokenicoLite\PluginHero\Addon::addScript()
S
62 1 12
BeycanPress\TokenicoLite\PluginHero\Addon::__construct()
S
61 1 12
BeycanPress\TokenicoLite\PluginHero\Addon::registerScript()
S
62 1 12
BeycanPress\TokenicoLite\PluginHero\Addon::registerStyle()
S
63 1 11
BeycanPress\TokenicoLite\PluginHero\Addon::addStyle()
S
63 1 11
BeycanPress\TokenicoLite\RestAPI::updateDescription()
S
63 1 11
BeycanPress\TokenicoLite\PostType\Presale::columns()
S
62 1 11
BeycanPress\TokenicoLite\PluginHero\Plugin::getKey()
S
80 1 3
BeycanPress\TokenicoLite\Entity\Presale::getEndDate()
S
78 1 3
BeycanPress\TokenicoLite\Entity\Presale::getStaticSaleTokenBetween()
S
63 1 10
BeycanPress\TokenicoLite\PluginHero\Setting::getSettingKey()
S
77 1 3
BeycanPress\TokenicoLite\PluginHero\Plugins::iconUrl()
S
79 1 3
BeycanPress\TokenicoLite\PluginHero\Addon::getKey()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Addon::getParentKey()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Session::get()
S
74 1 4
BeycanPress\TokenicoLite\PluginHero\Session::has()
S
74 1 4
BeycanPress\TokenicoLite\PluginHero\Model\AbstractModel::update()
S
78 1 3
BeycanPress\TokenicoLite\PluginHero\Addon::getFile()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Http\Response::notAcceptable()
S
78 1 3
BeycanPress\TokenicoLite\Entity\Presale::getNativeCoinPrice()
S
70 1 6
BeycanPress\TokenicoLite\Services\PresaleContract::get()
S
65 1 9
BeycanPress\TokenicoLite\Loader::activation()
S
79 1 3
BeycanPress\TokenicoLite\PluginHero\Model\AbstractModel::delete()
S
79 1 3
BeycanPress\TokenicoLite\Entity\Presale::getStaticSaleNativeBetween()
S
64 1 9
BeycanPress\TokenicoLite\PluginHero\Addon::getName()
S
82 1 3
BeycanPress\TokenicoLite\Entity\Presale::getTotalSales()
S
80 1 3
BeycanPress\TokenicoLite\PluginHero\Addon::getSlug()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Model\AbstractModel::getError()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Addon::getUrl()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Addon::getData()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Model\AbstractModel::getCount()
S
73 1 4
BeycanPress\TokenicoLite\PluginHero\Addon::getImageUrl()
S
80 1 3
BeycanPress\TokenicoLite\PluginHero\Table::addHooks()
S
76 1 4
BeycanPress\TokenicoLite\PluginHero\Table::addHeaderElements()
S
76 1 4
BeycanPress\TokenicoLite\PluginHero\Table::setSortableColumns()
S
70 1 6
BeycanPress\TokenicoLite\PluginHero\Table::setOptions()
S
77 1 4
BeycanPress\TokenicoLite\PluginHero\Table::setColumns()
S
77 1 4
BeycanPress\TokenicoLite\PluginHero\Table::setOrderQuery()
S
77 1 4
BeycanPress\TokenicoLite\PluginHero\Table::setPerPage()
S
77 1 4
BeycanPress\TokenicoLite\PluginHero\Table::setModel()
S
77 1 4
BeycanPress\TokenicoLite\PluginHero\Table::setTotalRow()
S
81 1 3
BeycanPress\TokenicoLite\PluginHero\Table::setDataList()
S
81 1 3
BeycanPress\TokenicoLite\PluginHero\Table::getDataList()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Table::getDataListCount()
S
80 1 3
BeycanPress\TokenicoLite\PluginHero\Table::dataListIsEmpty()
S
80 1 3
BeycanPress\TokenicoLite\PluginHero\Table::getPerPage()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Table::getTotalRow()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Table::getModel()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Table::getParams()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Table::getOptions()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Table::getColumns()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Table::getOrderQuery()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Entity::getMeta()
S
79 1 3
BeycanPress\TokenicoLite\Entity\Presale::getMaxContribution()
S
78 1 3
BeycanPress\TokenicoLite\PluginHero\Setting::update()
S
72 1 5
BeycanPress\TokenicoLite\PluginHero\Addon::getPath()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Model\AbstractModel::insert()
S
75 1 4
BeycanPress\TokenicoLite\PluginHero\Model\AbstractModel::findAll()
S
79 1 3
BeycanPress\TokenicoLite\PluginHero\Model\AbstractModel::getVar()
S
79 1 3
BeycanPress\TokenicoLite\Entity\Presale::calculateMaxTokenAmount()
S
80 1 3
BeycanPress\TokenicoLite\Pages\SalesList::__construct()
S
65 1 9
BeycanPress\TokenicoLite\PluginHero\Page::getUrl()
S
82 1 3
BeycanPress\TokenicoLite\RestAPI::filterPresales()
S
64 1 9
BeycanPress\TokenicoLite\Loader::deactivation()
S
80 1 3
BeycanPress\TokenicoLite\Entity\Presale::calculateMinTokenAmount()
S
80 1 3
BeycanPress\TokenicoLite\Entity\Presale::getExchangeRate()
S
78 1 3
BeycanPress\TokenicoLite\PluginHero\Addon::getViewDir()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Table::renderDataTable()
S
63 1 10
BeycanPress\TokenicoLite\PluginHero\Plugin::getInstance()
S
80 1 3
BeycanPress\TokenicoLite\PluginHero\Model\AbstractModel::getRow()
S
79 1 3
BeycanPress\TokenicoLite\PluginHero\Addon::view()
S
70 1 6
BeycanPress\TokenicoLite\PluginHero\Helpers::registerUninstall()
S
79 1 3
BeycanPress\TokenicoLite\PluginHero\Helpers::registerDeactivation()
S
79 1 3
BeycanPress\TokenicoLite\PluginHero\Model\AbstractModel::getResults()
S
79 1 3
BeycanPress\TokenicoLite\PluginHero\Http\Response::success()
S
67 1 8
BeycanPress\TokenicoLite\PluginHero\Http\Request::get()
S
76 1 4
BeycanPress\TokenicoLite\PluginHero\Hook::removeFilter()
S
78 1 3
BeycanPress\TokenicoLite\PluginHero\Http\Request::files()
S
76 1 4
BeycanPress\TokenicoLite\PluginHero\Http\Response::json()
S
76 1 4
BeycanPress\TokenicoLite\PluginHero\Session::clear()
S
77 1 4
BeycanPress\TokenicoLite\PluginHero\Hook::callAction()
S
78 1 3
BeycanPress\TokenicoLite\PluginHero\Model\AbstractModel::existTable()
S
78 1 3
BeycanPress\TokenicoLite\PluginHero\Plugins::page()
S
67 1 7
BeycanPress\TokenicoLite\PluginHero\Model\AbstractModel::drop()
S
80 1 3
BeycanPress\TokenicoLite\PluginHero\Page::getSlug()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Hook::addAction()
S
77 1 3
BeycanPress\TokenicoLite\Entity\Presale::getStartDate()
S
78 1 3
BeycanPress\TokenicoLite\PluginHero\Http\Client::getInfo()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\BaseAPI::addMiddleware()
S
80 1 3
BeycanPress\TokenicoLite\PluginHero\Hook::callFilter()
S
77 1 3
BeycanPress\TokenicoLite\PluginHero\Table::get_sortable_columns()
S
82 1 3
BeycanPress\TokenicoLite\Entity\Presale::getMinContribution()
S
78 1 3
BeycanPress\TokenicoLite\PluginHero\Hook::removeAction()
S
78 1 3
BeycanPress\TokenicoLite\Entity\Presale::getNetworkName()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Table::getHeaderElements()
S
82 1 3
BeycanPress\TokenicoLite\Entity\Presale::getNativeCoinSymbol()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Http\Request::getAllParams()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Http\Client::addOption()
S
76 1 4
BeycanPress\TokenicoLite\PluginHero\Http\Response::unAuthorized()
S
78 1 3
BeycanPress\TokenicoLite\PluginHero\Table::get_columns()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Http\Client::getError()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Entity::__construct()
S
80 1 3
BeycanPress\TokenicoLite\Models\Sale::getPurchaseAmount()
S
66 1 9
BeycanPress\TokenicoLite\PluginHero\Http\Response::notFound()
S
78 1 3
BeycanPress\TokenicoLite\PluginHero\Model\AbstractModel::getCol()
S
79 1 3
BeycanPress\TokenicoLite\PluginHero\Http\Client::setBaseUrl()
S
77 1 4
BeycanPress\TokenicoLite\PluginHero\Http\Request::getAllHeaderParams()
S
81 1 3
BeycanPress\TokenicoLite\PluginHero\Http\Response::forbidden()
S
78 1 3
BeycanPress\TokenicoLite\PluginHero\Addon::viewEcho()
S
79 1 3
BeycanPress\TokenicoLite\PluginHero\Http\Request::getErrors()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Hook::addFilter()
S
77 1 3
BeycanPress\TokenicoLite\PluginHero\Http\Response::error()
S
78 1 3
BeycanPress\TokenicoLite\PluginHero\Model\AbstractModel::initWPDB()
S
73 1 5
BeycanPress\TokenicoLite\PluginHero\Entity::setMeta()
S
79 1 3
BeycanPress\TokenicoLite\PluginHero\Helpers::registerActivation()
S
79 1 3
BeycanPress\TokenicoLite\PluginHero\Http\Request::getMethod()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Http\Request::getParam()
S
80 1 3
BeycanPress\TokenicoLite\Entity\Presale::getTotalSaleLimit()
S
80 1 3
BeycanPress\TokenicoLite\PluginHero\Http\Request::getContent()
S
80 1 3
BeycanPress\TokenicoLite\PluginHero\Model\AbstractModel::setColumns()
S
79 1 3
BeycanPress\TokenicoLite\Models\Sale::getQuantityPurchased()
S
66 1 9
BeycanPress\TokenicoLite\PluginHero\Addon::getVersion()
S
82 1 3
BeycanPress\TokenicoLite\Entity\Presale::getUsdPrice()
S
68 1 6
BeycanPress\TokenicoLite\PluginHero\Page::getName()
S
82 1 3
BeycanPress\TokenicoLite\RestAPI::saveDeployedContract()
S
68 1 7
BeycanPress\TokenicoLite\PluginHero\Model\AbstractModel::existColumn()
S
78 1 3
BeycanPress\TokenicoLite\PluginHero\Http\Response::badRequest()
S
78 1 3
BeycanPress\TokenicoLite\PluginHero\Setting::createSection()
S
79 1 3
BeycanPress\TokenicoLite\Services\PresaleList::getItems()
S
73 1 5
BeycanPress\TokenicoLite\PluginHero\Model\AbstractModel::query()
S
81 1 3
BeycanPress\TokenicoLite\Entity\Presale::getStaticSaleUsdBetween()
S
64 1 9
BeycanPress\TokenicoLite\PluginHero\Http\Client::addHeader()
S
76 1 4
BeycanPress\TokenicoLite\Entity\Presale::getSaleUsdBetween()
S
69 1 6
BeycanPress\TokenicoLite\RestAPI::getPresales()
S
67 1 7
BeycanPress\TokenicoLite\PluginHero\Session::regenerate()
S
77 1 4
BeycanPress\TokenicoLite\Settings::arrayMapAssoc()
S
77 1 3
BeycanPress\TokenicoLite\PluginHero\Hook::getPrefix()
S
79 1 3
BeycanPress\TokenicoLite\PluginHero\Http\Client::addOptions()
S
75 1 4
BeycanPress\TokenicoLite\Entity\Presale::getRemainingLimit()
S
80 1 3
BeycanPress\TokenicoLite\PluginHero\Table::getSortableColumns()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Helpers::getPHPVersion()
S
73 1 4
BeycanPress\TokenicoLite\PluginHero\Table::getHooks()
S
82 1 3
BeycanPress\TokenicoLite\PluginHero\Http\Response::serverInternal()
S
78 1 3
BeycanPress\TokenicoLite\PluginHero\Session::destroy()
S
77 1 4
BeycanPress\TokenicoLite\PluginHero\Model\AbstractModel::__construct()
S
74 1 5
BeycanPress\TokenicoLite\PluginHero\Http\Request::post()
S
76 1 4