Code Analysis: theMarketer - Email marketing, Newsletters, Automation & Loyalty for Woocommerce 1.3.4

Function Rating Maintainability Complexity Lines of code
Mktr\Tracker\Form::initProcess()
D
26
50 131
Mktr\Tracker\Admin::gForm()
D
24
49 144
Mktr\Tracker\Routes\setEmail::execute()
D
27
35 137
Mktr\Tracker\Routes\loadEvents::execute()
C
36 27 68
Mktr\Tracker\Valid::check()
C
39 25 60
Mktr\Tracker\Routes\saveOrder::execute()
C
35 24 74
Mktr\Tracker\Events::mktr_data()
C
39 25 57
Mktr\Tracker\Model\Product::getPrice()
B
38 23 65
Mktr\Tracker\Model\Product::getVariation()
B
37 21 73
Mktr\Tracker\Model\Product::getRegularPrice()
B
38 21 65
Mktr\Tracker\Routes\refreshJS::execute()
B
29
11 179
Mktr\Tracker\Routes\Feed::execute()
B
36 17 77
Mktr\Tracker\Model\Product::get_price()
B
41 18 59
Mktr\Tracker\Array2XML::convert()
A
44 16 43
Mktr\Tracker\Admin::notice()
A
39 13 68
Mktr\Tracker\Route::check()
A
41 13 55
Mktr\Tracker\Observer::mailpoet_status_changed()
A
42 13 50
Mktr\Tracker\Events::buildMultiCategory()
A
43 13 49
Mktr\Tracker\Routes\GForms::execute()
A
42 11 50
Mktr\Tracker\Run::gform_observer()
A
47 11 35
Mktr\Tracker\Model\Product::getStock()
A
48 11 33
Mktr\Tracker\Admin::gravity()
A
37 7 86
Mktr\Tracker\Events::getEvent()
A
47 10 37
Mktr\Tracker\Model\Cron::cronAction()
A
45 10 37
Mktr\Tracker\Valid::Output()
A
47 10 34
Mktr\Tracker\Routes\Orders::execute()
A
43 9 48
Mktr\Tracker\Admin::onboarding()
A
37 6 91
Mktr\Tracker\Front::routeCheck()
A
49 10 29
Mktr\Tracker\Model\Product::getValue()
A
53 10 22
Mktr\Tracker\Model\Order::getProductsData()
A
47 9 32
Mktr\Tracker\Model\Order::getProducts()
A
51 9 25
Mktr\Tracker\Routes\MailPoet::execute()
A
47 8 37
Mktr\Tracker\Routes\GForms::getData()
A
51 8 27
Mktr\Tracker\Routes\Contacts::execute1()
A
47 7 36
Mktr\Tracker\Routes\Brands::execute()
A
48 7 35
Mktr\Tracker\Routes\Contacts::execute()
A
48 7 34
Mktr\Tracker\Observer::getEmail()
S
51 7 28
Mktr\Tracker\Run::add_to_cart()
S
52 7 27
Mktr\Tracker\Routes\MailPoet::get_customers()
S
46 6 41
Mktr\Tracker\Model\Product::getAcquisitionPrice()
S
52 7 26
Mktr\Tracker\Model\Product::checkAvailability()
S
60 7 13
Mktr\Tracker\Routes\Reviews::execute()
S
45 5 39
Mktr\Tracker\Model\Product::getBrand()
S
55 6 21
Mktr\Tracker\Config::getMailPoetId()
S
54 6 19
Mktr\Tracker\Routes\loadEvents::checkDif()
S
57 6 17
Mktr\Tracker\Api::REST()
S
50 5 32
Mktr\Tracker\Admin::loadAdmin()
S
56 6 15
Mktr\Tracker\Model\Product::getDescription()
S
59 6 14
Mktr\Tracker\Run::mailpoet_ajax()
S
59 6 14
Mktr\Tracker\Config::getSubscriber()
S
50 5 29
Mktr\Tracker\Run::platform()
S
54 5 22
Mktr\Tracker\Config::getValue()
S
55 5 20
Mktr\Tracker\Route::checkPage()
S
55 5 20
Mktr\Tracker\Admin::tracker()
S
42 2 64
Mktr\Tracker\Observer::addToCart()
S
55 5 18
Mktr\Tracker\Events::schemaValidate()
S
58 5 15
Mktr\Tracker\Run::__construct()
S
44 3 44
Mktr\Tracker\Events::bMC()
S
59 5 14
Mktr\Tracker\Session::__construct()
S
58 5 13
Mktr\Tracker\Model\Product::getAvailableVariations()
S
61 5 12
Mktr\Tracker\Session::save()
S
52 4 25
Mktr\Tracker\Model\DiscountCode::getNewCode()
S
53 4 23
Mktr\Tracker\Array2XML::cXML()
S
54 4 23
Mktr\Tracker\Events::loader()
S
56 4 17
Mktr\Tracker\Observer::removeFromCart()
S
57 4 16
Mktr\Tracker\Routes\clearEvents::execute()
S
57 4 16
Mktr\Tracker\Run::filter_add_to_cart()
S
58 4 16
Mktr\Tracker\Model\Order::getDiscountCode()
S
58 4 16
Mktr\Tracker\Observer::orderUpApi()
S
64 5 8
Mktr\Tracker\Routes\loadEvents::checkAdded()
S
69 5 6
Mktr\Tracker\Run::add_to_cart_ajax()
S
59 4 15
Mktr\Tracker\Run::remove_from_wishlist_item()
S
66 5 7
Mktr\Tracker\Session::getUid()
S
58 4 15
Mktr\Tracker\Front::AddCartEvent()
S
63 5 10
Mktr\Tracker\Config::sanitize()
S
58 4 15
Mktr\Tracker\Config::REQUEST()
S
60 4 14
Mktr\Tracker\Model\Product::getVarValue()
S
60 4 14
Mktr\Tracker\Observer::orderUp()
S
62 4 11
Mktr\Tracker\Routes\FeedBack::execute()
S
51 3 26
Mktr\Tracker\Data::__get()
S
63 4 11
Mktr\Tracker\Admin::scripts()
S
61 4 11
Mktr\Tracker\Front::loadFront()
S
61 4 11
Mktr\Tracker\Admin::menu()
S
50 2 38
Mktr\Tracker\Admin::feedback()
S
50 2 32
Mktr\Tracker\Run::delete_wishlist_item_wlfmc()
S
63 4 10
Mktr\Tracker\Admin::google()
S
52 2 29
Mktr\Tracker\Config::callNow()
S
61 3 13
Mktr\Tracker\Model\Order::getById()
S
61 3 13
Mktr\Tracker\Observer::addToWishlist()
S
61 3 12
Mktr\Tracker\Observer::removeFromWishlist()
S
61 3 12
Mktr\Tracker\Observer::SessionSet()
S
60 3 12
Mktr\Tracker\FileSystem::rFile()
S
61 3 12
Mktr\Tracker\Config::getDiscountRules()
S
63 3 11
Mktr\Tracker\Events::initEvents()
S
61 3 11
Mktr\Tracker\Events::buildCategory()
S
62 3 11
Mktr\Tracker\Model\Category::getValue()
S
63 3 11
Mktr\Tracker\Model\DiscountCode::newCode()
S
61 3 11
Mktr\Tracker\Model\Order::getValue()
S
63 3 11
Mktr\Tracker\Routes\Category::execute()
S
56 2 19
Mktr\Tracker\Model\Product::getName()
S
64 3 9
Mktr\Tracker\Model\Product::getPriceByPriority()
S
67 3 9
Mktr\Tracker\Routes\Category::buildCategory()
S
63 3 10
Mktr\Tracker\Observer::registerOrLogIn()
S
70 3 5
Mktr\Tracker\Admin::rateActive()
S
69 3 6
Mktr\Tracker\Admin::extra_links()
S
64 3 9
Mktr\Tracker\Array2XML::bool2str()
S
77 3 3
Mktr\Tracker\Admin::deactivation()
S
64 3 9
Mktr\Tracker\FileSystem::setWorkDirectory()
S
65 3 9
Mktr\Tracker\Session::sessionSet()
S
64 3 8
Mktr\Tracker\Valid::getParam()
S
64 3 10
Mktr\Tracker\Admin::gform_menu()
S
66 3 8
Mktr\Tracker\Front::saveOrder()
S
68 3 7
Mktr\Tracker\Front::saveOrder1()
S
68 3 7
Mktr\Tracker\Config::GET()
S
76 3 3
Mktr\Tracker\Model\Order::toArray()
S
67 3 7
Mktr\Tracker\Model\Order::toExtraArray()
S
67 3 7
Mktr\Tracker\Model\Product::getById()
S
66 3 8
Mktr\Tracker\Config::POST()
S
69 3 6
Mktr\Tracker\Session::up()
S
60 2 14
Mktr\Tracker\Observer::emailAndPhone()
S
61 2 12
Mktr\Tracker\Observer::setGEmail()
S
62 2 11
Mktr\Tracker\Run::Update()
S
53 1 22
Mktr\Tracker\Run::Install()
S
57 1 16
Mktr\Tracker\Observer::init()
S
71 2 6
Mktr\Tracker\Model\Category::init()
S
71 2 6
Mktr\Tracker\Routes\Brands::init()
S
71 2 6
Mktr\Tracker\Valid::validateDate()
S
71 2 5
Mktr\Tracker\Valid::init()
S
71 2 6
Mktr\Tracker\Routes\Category::init()
S
71 2 6
Mktr\Tracker\Front::RemoveCartEvent()
S
67 2 7
Mktr\Tracker\Routes\loadEvents::init()
S
75 2 4
Mktr\Tracker\Routes\CodeGenerator::init()
S
71 2 6
Mktr\Tracker\Config::setValue()
S
64 2 10
Mktr\Tracker\Routes\Contacts::get()
S
70 2 6
Mktr\Tracker\Routes\GForms::init()
S
71 2 6
Mktr\Tracker\Events::buildSingleCategory()
S
68 2 7
Mktr\Tracker\Config::tableName()
S
74 2 4
Mktr\Tracker\Api::init()
S
71 2 6
Mktr\Tracker\FileSystem::getPath()
S
70 2 7
Mktr\Tracker\Routes\Cron::get()
S
70 2 6
Mktr\Tracker\Config::getLoader()
S
70 2 7
Mktr\Tracker\Admin::init()
S
71 2 6
Mktr\Tracker\Run::remove_from_wishlist_wlfmc()
S
73 2 5
Mktr\Tracker\Run::addRoute()
S
65 2 9
Mktr\Tracker\Logs::debug()
S
68 2 7
Mktr\Tracker\Routes\Feed::get()
S
69 2 7
Mktr\Tracker\Routes\Orders::get()
S
70 2 6
Mktr\Tracker\Run::remove_from_wishlist_yith()
S
70 2 6
Mktr\Tracker\Routes\FeedBack::get()
S
70 2 6
Mktr\Tracker\Model\Product::init()
S
71 2 6
Mktr\Tracker\Run::add_to_wishlist()
S
70 2 6
Mktr\Tracker\Run::remove_from_wishlist()
S
74 2 4
Mktr\Tracker\Form::formFields()
S
67 2 7
Mktr\Tracker\Routes\clearEvents::get()
S
70 2 6
Mktr\Tracker\Routes\refreshJS::init()
S
71 2 6
Mktr\Tracker\Routes\GForms::get()
S
70 2 6
Mktr\Tracker\Run::init()
S
75 2 4
Mktr\Tracker\Logs::addTo()
S
68 2 7
Mktr\Tracker\Data::__construct()
S
64 2 10
Mktr\Tracker\Route::init()
S
71 2 6
Mktr\Tracker\Routes\CodeGenerator::get()
S
69 2 7
Mktr\Tracker\Routes\refreshJS::get()
S
70 2 6
Mktr\Tracker\Routes\Reviews::get()
S
69 2 7
Mktr\Tracker\Routes\MailPoet::get()
S
70 2 6
Mktr\Tracker\Config::getPluginBase()
S
69 2 7
Mktr\Tracker\Routes\Orders::init()
S
71 2 6
Mktr\Tracker\Routes\clearEvents::init()
S
71 2 6
Mktr\Tracker\Admin::action_links()
S
65 2 8
Mktr\Tracker\Events::init()
S
71 2 6
Mktr\Tracker\Config::cleanSetup()
S
69 2 7
Mktr\Tracker\Data::init()
S
71 2 6
Mktr\Tracker\Routes\Reviews::init()
S
71 2 6
Mktr\Tracker\Observer::pushStatus()
S
64 2 10
Mktr\Tracker\Routes\loadEvents::get()
S
70 2 6
Mktr\Tracker\Config::getDir()
S
69 2 7
Mktr\Tracker\Routes\saveOrder::get()
S
69 2 7
Mktr\Tracker\Routes\saveOrder::init()
S
71 2 6
Mktr\Tracker\Routes\setEmail::init()
S
71 2 6
Mktr\Tracker\Run::debug()
S
71 2 6
Mktr\Tracker\Run::plug_url()
S
70 2 6
Mktr\Tracker\Data::addTo()
S
67 2 8
Mktr\Tracker\Run::mailpoet_subscription_status_changed()
S
74 2 5
Mktr\Tracker\Routes\Brands::get()
S
69 2 7
Mktr\Tracker\Run::add_to_wishlist_yith()
S
70 2 6
Mktr\Tracker\Events::build()
S
72 2 5
Mktr\Tracker\Run::add_to_wishlist_wlfmc()
S
73 2 5
Mktr\Tracker\Model\Product::toArray()
S
68 2 7
Mktr\Tracker\Events::getNameCat()
S
67 2 7
Mktr\Tracker\Session::init()
S
71 2 6
Mktr\Tracker\Form::init()
S
71 2 6
Mktr\Tracker\Session::remove()
S
75 2 4
Mktr\Tracker\Session::set()
S
67 2 8
Mktr\Tracker\Routes\Category::build()
S
64 2 10
Mktr\Tracker\FileSystem::init()
S
71 2 6
Mktr\Tracker\Session::get()
S
68 2 7
Mktr\Tracker\Array2XML::getXMLRoot()
S
72 2 6
Mktr\Tracker\Session::__destruct()
S
75 2 5
Mktr\Tracker\Logs::init()
S
71 2 6
Mktr\Tracker\FileSystem::deleteFile()
S
67 2 8
Mktr\Tracker\Admin::addNotice()
S
74 2 4
Mktr\Tracker\Front::RemoveCartEventFilter()
S
68 2 7
Mktr\Tracker\Routes\MailPoet::init()
S
71 2 6
Mktr\Tracker\Routes\Feed::init()
S
71 2 6
Mktr\Tracker\Model\Product::nameConvert()
S
74 2 4
Mktr\Tracker\Front::init()
S
71 2 6
Mktr\Tracker\Valid::toJson()
S
77 2 3
Mktr\Tracker\Routes\Cron::init()
S
71 2 6
Mktr\Tracker\Model\Cron::init()
S
71 2 6
Mktr\Tracker\Routes\Category::get()
S
69 2 7
Mktr\Tracker\Model\DiscountCode::init()
S
71 2 6
Mktr\Tracker\Routes\Contacts::init()
S
71 2 6
Mktr\Tracker\Valid::correctDate()
S
77 2 3
Mktr\Tracker\Routes\setEmail::get()
S
69 2 7
Mktr\Tracker\Model\Product::qTranslate()
S
66 2 8
Mktr\Tracker\Logs::__get()
S
70 2 6
Mktr\Tracker\Config::db()
S
74 2 4
Mktr\Tracker\Array2XML::isValidTagName()
S
73 2 4
Mktr\Tracker\Model\Product::getCreate()
S
78 2 3
Mktr\Tracker\Model\Order::init()
S
71 2 6
Mktr\Tracker\Model\Category::getById()
S
67 2 8
Mktr\Tracker\Routes\FeedBack::init()
S
71 2 6
Mktr\Tracker\Logs::__construct()
S
65 2 9
Mktr\Tracker\Config::getPlugin()
S
69 2 7
Mktr\Tracker\Model\Product::checkTax()
S
75 2 4
eDebug()
S
71 2 6
Mktr\Tracker\Model\Product::getImages()
S
65 2 10
Mktr\Tracker\Config::init()
S
71 2 6
Mktr\Tracker\Run::unInstall()
S
59 1 14
Mktr\Tracker\FileSystem::writeFile()
S
60 1 13
Mktr\Tracker\Array2XML::init()
S
62 1 12
Mktr\Tracker\Route::Contacts()
S
80 1 3
Mktr\Tracker\Array2XML::setFormatOutput()
S
79 1 3
Mktr\Tracker\Model\Product::getImage()
S
80 1 3
Mktr\Tracker\Array2XML::createXML()
S
78 1 3
Mktr\Tracker\Array2XML::getLabelCData()
S
80 1 3
Mktr\Tracker\Api::debug()
S
78 1 3
Mktr\Tracker\Config::__set()
S
79 1 3
Mktr\Tracker\Logs::__set()
S
79 1 3
Mktr\Tracker\Route::Cron()
S
80 1 3
Mktr\Tracker\Config::getSVG()
S
80 1 3
Mktr\Tracker\FileSystem::readFile()
S
78 1 3
Mktr\Tracker\Observer::setEmail()
S
73 1 5
Mktr\Tracker\Config::__get()
S
80 1 3
Mktr\Tracker\Route::clearEvents()
S
80 1 3
Mktr\Tracker\Valid::error()
S
80 1 3
Mktr\Tracker\Route::FeedBack()
S
80 1 3
Mktr\Tracker\Array2XML::setLabelCData()
S
79 1 3
Mktr\Tracker\Api::getUrl()
S
80 1 3
Mktr\Tracker\Valid::validateTelephone()
S
78 1 3
Mktr\Tracker\Data::getData()
S
80 1 3
Mktr\Tracker\Route::saveOrder()
S
80 1 3
Mktr\Tracker\Model\Product::getCat()
S
78 1 3
Mktr\Tracker\Session::clear()
S
76 1 4
Mktr\Tracker\Routes\Cron::execute()
S
78 1 3
Mktr\Tracker\FileSystem::getStatus()
S
80 1 3
Mktr\Tracker\Model\Category::__call()
S
80 1 3
Mktr\Tracker\Route::loadEvents()
S
80 1 3
Mktr\Tracker\Routes\CodeGenerator::execute()
S
79 1 3
Mktr\Tracker\FileSystem::fileExists()
S
79 1 3
Mktr\Tracker\Route::Brands()
S
80 1 3
Mktr\Tracker\Logs::save()
S
79 1 3
Mktr\Tracker\Array2XML::isStandalone()
S
80 1 3
Mktr\Tracker\Model\Product::__callStatic()
S
79 1 3
Mktr\Tracker\Config::getBaseURL()
S
79 1 3
Mktr\Tracker\Array2XML::getLabelDocType()
S
80 1 3
Mktr\Tracker\Events::toArray()
S
81 1 3
Mktr\Tracker\Logs::getData()
S
80 1 3
Mktr\Tracker\Data::save()
S
79 1 3
Mktr\Tracker\Run::woodmart_body()
S
81 1 3
Mktr\Tracker\Array2XML::setDomVersion()
S
79 1 3
Mktr\Tracker\Route::Category()
S
80 1 3
Mktr\Tracker\Config::__callStatic()
S
79 1 3
Mktr\Tracker\Model\Order::getAddress()
S
78 1 3
Mktr\Tracker\Data::del()
S
79 1 3
Mktr\Tracker\Model\Order::getDate()
S
79 1 3
Mktr\Tracker\Route::Reviews()
S
80 1 3
Mktr\Tracker\Config::getFireBase()
S
80 1 3
Mktr\Tracker\Observer::saveOrder()
S
73 1 5
Mktr\Tracker\Api::send()
S
78 1 3
Mktr\Tracker\Run::cronAction()
S
79 1 3
Mktr\Tracker\Route::MailPoet()
S
80 1 3
Mktr\Tracker\Events::toJson()
S
80 1 3
Mktr\Tracker\Data::__set()
S
79 1 3
Mktr\Tracker\Route::CodeGenerator()
S
80 1 3
Mktr\Tracker\Api::getContent()
S
80 1 3
Mktr\Tracker\Model\Product::getAvailability()
S
79 1 3
Mktr\Tracker\Array2XML::isFormatOutput()
S
80 1 3
Mktr\Tracker\Api::getParam()
S
80 1 3
Mktr\Tracker\Route::refreshJS()
S
80 1 3
Mktr\Tracker\Route::Orders()
S
80 1 3
Mktr\Tracker\Array2XML::setLabelValue()
S
79 1 3
Mktr\Tracker\Array2XML::setStandalone()
S
79 1 3
Mktr\Tracker\Model\Order::setRefund()
S
80 1 3
Mktr\Tracker\Config::session()
S
80 1 3
Mktr\Tracker\Form::clean()
S
80 1 3
Mktr\Tracker\Valid::getOutPut()
S
80 1 3
Mktr\Tracker\FileSystem::getLastPath()
S
80 1 3
Mktr\Tracker\Logs::del()
S
79 1 3
Mktr\Tracker\Valid::digit2()
S
71 1 5
Mktr\Tracker\Array2XML::getDomVersion()
S
80 1 3
Mktr\Tracker\Route::Feed()
S
80 1 3
Mktr\Tracker\Model\Category::__callStatic()
S
79 1 3
Mktr\Tracker\Model\Order::__call()
S
80 1 3
Mktr\Tracker\Valid::status()
S
79 1 3
Mktr\Tracker\Model\Product::__call()
S
80 1 3
Mktr\Tracker\Valid::setParam()
S
75 1 4
Mktr\Tracker\Array2XML::setEncoding()
S
79 1 3
Mktr\Tracker\Array2XML::getEncoding()
S
80 1 3
Mktr\Tracker\Array2XML::setLabelAttributes()
S
79 1 3
Mktr\Tracker\Front::loadModule()
S
67 1 7
Mktr\Tracker\Api::getStatus()
S
80 1 3
Mktr\Tracker\Array2XML::setLabelDocType()
S
79 1 3
Mktr\Tracker\Api::getBody()
S
80 1 3
Mktr\Tracker\Session::clearIfExipire()
S
69 1 6
Mktr\Tracker\Session::data()
S
80 1 3
Mktr\Tracker\Model\Order::getRefund()
S
80 1 3
Mktr\Tracker\Config::getFireBaseMessaging()
S
80 1 3
Mktr\Tracker\Array2XML::getLabelAttributes()
S
80 1 3
Mktr\Tracker\Array2XML::getLabelValue()
S
80 1 3
Mktr\Tracker\Route::GForms()
S
80 1 3
Mktr\Tracker\Routes\Contacts::get_customers()
S
63 1 9
Mktr\Tracker\Model\Order::__callStatic()
S
79 1 3
Mktr\Tracker\Config::__call()
S
80 1 3
Mktr\Tracker\Front::registerOrLogIn()
S
80 1 3
Mktr\Tracker\Session::down()
S
75 1 4
Mktr\Tracker\Array2XML::getConvert()
S
79 1 3
Mktr\Tracker\Route::setEmail()
S
80 1 3
Mktr\Tracker\Api::getInfo()
S
80 1 3