Code Analysis: TheMarketer - WooCommerce Version 1.3.1

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