Code Analysis: اطلاع رسانی سفارشات از طریق ربات تلگرام 1.8.5

Function Rating Maintainability Complexity Lines of code
OrderNotificationForTelegramBot\Common\PersianDate::jstrftime()
D
16
94 181
OrderNotificationForTelegramBot\Common\PersianDate::jdate()
D
17
83 176
OrderNotificationForTelegramBot\Common\PersianDate::jdate_words()
B
32 17 96
OrderNotificationForTelegramBot\Common\PersianDate::jalali_to_gregorian()
A
49 11 26
OrderNotificationForTelegramBot\Common\PersianDate::jmktime()
A
48 8 35
OrderNotificationForTelegramBot\Common\Helper\TelegramBot::request()
S
58 8 14
OrderNotificationForTelegramBot\Common\PersianDate::jcheckdate()
S
67 8 5
OrderNotificationForTelegramBot\Common\PersianDate::gregorian_to_jalali()
S
51 5 22
OrderNotificationForTelegramBot\Admin\SettingsSection::checkForError()
S
57 5 17
OrderNotificationForTelegramBot\Common\Helper\OptionManager::sanitize_text_or_array_field()
S
60 5 14
OrderNotificationForTelegramBot\Admin\OrdersSection::getSectionDetails()
S
41 1 64
OrderNotificationForTelegramBot\Admin\SettingsSection::getSectionDetails()
S
45 1 51
OrderNotificationForTelegramBot\Common\Helper\TestMessage::sendTestMessage()
S
57 3 16
OrderNotificationForTelegramBot\Common\Helper\RenderView::checkViewFiles()
S
67 4 7
OrderNotificationForTelegramBot\App::run()
S
59 3 14
OrderNotificationForTelegramBot\Common\Helper\Methods::convertToCamelCase()
S
61 3 12
OrderNotificationForTelegramBot\Common\Helper\RenderView::load()
S
62 3 11
OrderNotificationForTelegramBot\Common\Helper\TelegramBot::sendMessage()
S
52 2 26
OrderNotificationForTelegramBot\Common\Shortcodes::init()
S
65 1 33
OrderNotificationForTelegramBot\Common\PersianDate::jgetdate()
S
56 2 17
OrderNotificationForTelegramBot\Base\WCOptionsSectionCollection::getSections()
S
65 3 9
OrderNotificationForTelegramBot\Admin\SettingsSection::renderHelpDescription()
S
54 1 24
OrderNotificationForTelegramBot\Admin\TroubleshootingSection::getSectionDetails()
S
56 1 20
OrderNotificationForTelegramBot\App::checkForWooCommerce()
S
67 2 8
OrderNotificationForTelegramBot\App::woocommerceOrderStatusChanged()
S
65 2 8
OrderNotificationForTelegramBot\Common\PersianDate::tr_num()
S
68 2 5
OrderNotificationForTelegramBot\Common\Helper\TelegramBot::getEndpoint()
S
72 2 6
OrderNotificationForTelegramBot\App::woocommerceNewOrderArrived()
S
64 2 10
OrderNotificationForTelegramBot\Admin\WCOptions::save()
S
67 2 8
OrderNotificationForTelegramBot\App::loadHooks()
S
66 2 8
OrderNotificationForTelegramBot\Base\Singleton::getInstance()
S
68 2 7
OrderNotificationForTelegramBot\Base\WCOptionsSection::isItemEnabled()
S
73 2 5
OrderNotificationForTelegramBot\Common\Helper\TelegramBot::printResponse()
S
68 2 7
OrderNotificationForTelegramBot\App::addActionLinks()
S
77 1 3
OrderNotificationForTelegramBot\Base\Singleton::init()
S
100 1 0
OrderNotificationForTelegramBot\Base\WCOptionsSection::__construct()
S
77 1 4
OrderNotificationForTelegramBot\App::showWooCommerceError()
S
70 1 6
OrderNotificationForTelegramBot\App::wooInstalled()
S
81 1 3
OrderNotificationForTelegramBot\Common\Helper\TelegramBot::wpPostRequest()
S
79 1 3
OrderNotificationForTelegramBot\App::adminLoadJsScripts()
S
77 1 3
OrderNotificationForTelegramBot\Base\WCOptionsSection::getTitle()
S
83 1 3
OrderNotificationForTelegramBot\Base\WCOptionsSection::haveErrorBeforeSave()
S
82 1 3
OrderNotificationForTelegramBot\Base\WCOptionsSection::checkForError()
S
83 1 3
OrderNotificationForTelegramBot\Base\WCOptionsSection::showError()
S
82 1 3
OrderNotificationForTelegramBot\Base\WCOptionsSectionCollection::add()
S
79 1 3
OrderNotificationForTelegramBot\Base\WCOptionsSectionCollection::getSection()
S
80 1 3
OrderNotificationForTelegramBot\App::defineMethods()
S
82 1 3
OrderNotificationForTelegramBot\App::loadHooksInAdmin()
S
72 1 5
OrderNotificationForTelegramBot\Common\Helper\OptionManager::getOption()
S
80 1 3
OrderNotificationForTelegramBot\Common\Helper\OptionManager::isEnable()
S
79 1 3
OrderNotificationForTelegramBot\Admin\WCOptions::getCurrentSection()
S
79 1 4
OrderNotificationForTelegramBot\Base\WCOptionsSection::getId()
S
83 1 3
OrderNotificationForTelegramBot\Admin\OrdersSection::getSectionOutput()
S
74 1 5
OrderNotificationForTelegramBot\Admin\WCOptions::defineSections()
S
82 1 3
OrderNotificationForTelegramBot\App::wooNotInstalled()
S
81 1 3
OrderNotificationForTelegramBot\Base\Singleton::__clone()
S
91 1 2
OrderNotificationForTelegramBot\Admin\WCOptions::output()
S
76 1 4
OrderNotificationForTelegramBot\Base\Singleton::__construct()
S
82 1 3
OrderNotificationForTelegramBot\App::addWooCommerceSettingSection()
S
65 1 8
OrderNotificationForTelegramBot\Common\Helper\OptionManager::deleteOption()
S
80 1 3
OrderNotificationForTelegramBot\Common\Helper\Methods::generateMethodName()
S
78 1 3
OrderNotificationForTelegramBot\Base\Singleton::__wakeup()
S
80 1 3
OrderNotificationForTelegramBot\Admin\TroubleshootingSection::getSectionOutput()
S
74 1 5
OrderNotificationForTelegramBot\Common\Helper\OptionManager::setOption()
S
79 1 3
OrderNotificationForTelegramBot\Common\Strings::getString()
S
77 1 3
OrderNotificationForTelegramBot\Common\Helper\TelegramBot::setGoogleScript()
S
81 1 3
OrderNotificationForTelegramBot\Admin\SettingsSection::getSectionOutput()
S
74 1 5
OrderNotificationForTelegramBot\Admin\WCOptions::__construct()
S
67 1 7
OrderNotificationForTelegramBot\App::init()
S
73 1 5
OrderNotificationForTelegramBot\Base\WCOptionsSection::getSectionOutput()
S
100 1 0
OrderNotificationForTelegramBot\App::sendTgNotification()
S
70 1 6
OrderNotificationForTelegramBot\Common\Strings::printString()
S
79 1 3
OrderNotificationForTelegramBot\Common\Helper\RenderView::render()
S
78 1 3
OrderNotificationForTelegramBot\Common\Helper\TelegramBot::setDefaultEndpoint()
S
81 1 3
OrderNotificationForTelegramBot\Common\Helper\TelegramBot::setUseTelegramEndPoint()
S
81 1 3
OrderNotificationForTelegramBot\Base\WCOptionsSection::getSectionDetails()
S
100 1 0
OrderNotificationForTelegramBot\App::initTelegramBotHelper()
S
63 1 10
OrderNotificationForTelegramBot\Common\Helper\TelegramBot::getTelegramBotEndpoint()
S
80 1 3
OrderNotificationForTelegramBot\Common\Helper\TelegramBot::__construct()
S
71 1 6
OrderNotificationForTelegramBot\App::noticeForInstallingWoocommerce()
S
79 1 3
OrderNotificationForTelegramBot\Common\Helper\TestMessage::__construct()
S
75 1 4