Code Analysis: TheMarketer 1.1.0

Function Rating Maintainability Complexity Lines of code
Mktr\Tracker\Valid::check()
C
39 25 60
Mktr\Tracker\Model\Product::getVariation()
B
39 17 69
Mktr\Tracker\Array2XML::convert()
A
44 16 43
Mktr\Tracker\Routes\saveOrder::execute()
A
40 14 59
Mktr\Tracker\Form::getForm()
A
41 12 56
Mktr\Tracker\Events::loadEvents()
A
45 13 40
Mktr\Tracker\Routes\Feed::execute()
A
40 11 60
Mktr\Tracker\Routes\setEmail::execute()
A
42 11 53
Mktr\Tracker\Front::routeCheck()
A
48 10 32
Mktr\Tracker\Route::check()
A
46 9 38
Mktr\Tracker\Model\Product::getPrice()
A
55 9 18
Mktr\Tracker\Valid::Output()
A
48 8 32
Mktr\Tracker\Routes\Orders::execute()
A
45 7 43
Mktr\Tracker\Form::initProcess()
S
50 7 29
Mktr\Tracker\Model\Product::getAcquisitionPrice()
S
52 7 26
Mktr\Tracker\Model\Product::getRegularPrice()
S
55 7 18
Mktr\Tracker\Routes\Reviews::execute()
S
44 5 42
Mktr\Tracker\Admin::tracker()
S
37 1 101
Mktr\Tracker\Observer::getEmail()
S
52 6 25
Mktr\Tracker\Run::add_to_cart()
S
53 6 24
Mktr\Tracker\Model\Product::getValue()
S
55 6 21
Mktr\Tracker\Model\Cron::cronAction()
S
54 6 19
Mktr\Tracker\Api::REST()
S
50 5 32
Mktr\Tracker\Routes\Brands::execute()
S
51 5 27
Mktr\Tracker\Events::getEvent()
S
52 5 26
Mktr\Tracker\Config::getValue()
S
55 5 20
Mktr\Tracker\Routes\loadEvents::execute()
S
55 5 19
Mktr\Tracker\Model\Product::getBrand()
S
57 5 18
Mktr\Tracker\Route::checkPage()
S
56 5 18
Mktr\Tracker\Events::schemaValidate()
S
58 5 15
Mktr\Tracker\Model\Product::getStock()
S
61 5 13
Mktr\Tracker\Admin::loadAdmin()
S
58 5 13
Mktr\Tracker\Config::POST()
S
62 5 11
Mktr\Tracker\Array2XML::cXML()
S
54 4 23
Mktr\Tracker\Model\DiscountCode::getNewCode()
S
53 4 23
Mktr\Tracker\Model\Product::getVarValue()
S
59 4 16
Mktr\Tracker\Routes\clearEvents::execute()
S
57 4 16
Mktr\Tracker\Data::__get()
S
63 4 11
Mktr\Tracker\Admin::notice()
S
61 4 11
Mktr\Tracker\Model\Order::getProductsData()
S
53 3 22
Mktr\Tracker\Front::loadModule()
S
53 3 21
Mktr\Tracker\Model\Order::getProducts()
S
58 3 15
Mktr\Tracker\Front::AddCartEvent()
S
68 4 7
Mktr\Tracker\Admin::menu()
S
53 2 29
Mktr\Tracker\Config::callNow()
S
61 3 13
Mktr\Tracker\Observer::addToCart()
S
60 3 13
Mktr\Tracker\Observer::removeFromCart()
S
60 3 13
Mktr\Tracker\Observer::SessionSet()
S
59 3 13
Mktr\Tracker\Model\Order::getDiscountCode()
S
62 3 12
Mktr\Tracker\Observer::removeFromWishlist()
S
61 3 12
Mktr\Tracker\Observer::addToWishlist()
S
61 3 12
Mktr\Tracker\Events::buildCategory()
S
62 3 11
Mktr\Tracker\Model\Category::getValue()
S
63 3 11
Mktr\Tracker\Events::buildMultiCategory()
S
62 3 11
Mktr\Tracker\Model\DiscountCode::newCode()
S
61 3 11
Mktr\Tracker\Model\Order::getValue()
S
63 3 11
Mktr\Tracker\Config::getDiscountRules()
S
63 3 11
Mktr\Tracker\Routes\Category::execute()
S
56 2 19
Mktr\Tracker\Run::__construct()
S
57 2 16
Mktr\Tracker\Valid::getParam()
S
64 3 10
Mktr\Tracker\Array2XML::bool2str()
S
77 3 3
Mktr\Tracker\FileSystem::setWorkDirectory()
S
65 3 9
Mktr\Tracker\Front::loadFront()
S
65 3 8
Mktr\Tracker\Admin::extra_links()
S
64 3 9
Mktr\Tracker\Observer::registerOrLogIn()
S
66 3 8
Mktr\Tracker\FileSystem::rFile()
S
61 2 12
Mktr\Tracker\Front::google_head()
S
63 2 12
Mktr\Tracker\FileSystem::readFile()
S
63 2 11
Mktr\Tracker\Routes\Category::build()
S
63 2 11
Mktr\Tracker\Front::addToCart()
S
58 1 22
Mktr\Tracker\Admin::google()
S
56 1 20
Mktr\Tracker\Routes\saveOrder::init()
S
71 2 6
Mktr\Tracker\Routes\setEmail::init()
S
71 2 6
Mktr\Tracker\Events::buildSingleCategory()
S
68 2 7
Mktr\Tracker\Valid::toJson()
S
77 2 3
Mktr\Tracker\Model\Category::init()
S
71 2 6
Mktr\Tracker\Api::init()
S
71 2 6
Mktr\Tracker\FileSystem::init()
S
71 2 6
Mktr\Tracker\Routes\loadEvents::init()
S
71 2 6
Mktr\Tracker\Model\Category::getById()
S
67 2 8
Mktr\Tracker\Array2XML::getXMLRoot()
S
72 2 6
Mktr\Tracker\Model\DiscountCode::init()
S
71 2 6
Mktr\Tracker\Array2XML::isValidTagName()
S
73 2 4
Mktr\Tracker\Model\Order::init()
S
71 2 6
Mktr\Tracker\FileSystem::getPath()
S
70 2 7
Mktr\Tracker\Model\Order::getById()
S
66 2 9
Mktr\Tracker\Routes\CodeGenerator::init()
S
71 2 6
Mktr\Tracker\Model\Product::init()
S
71 2 6
Mktr\Tracker\Model\Order::toArray()
S
68 2 7
Mktr\Tracker\Routes\Reviews::init()
S
71 2 6
Mktr\Tracker\FileSystem::deleteFile()
S
67 2 8
Mktr\Tracker\Form::init()
S
71 2 6
Mktr\Tracker\Model\Product::getById()
S
66 2 9
Mktr\Tracker\Config::GET()
S
77 2 3
Mktr\Tracker\Routes\Reviews::get()
S
69 2 7
Mktr\Tracker\Config::getLoader()
S
70 2 7
Mktr\Tracker\Routes\Orders::init()
S
71 2 6
Mktr\Tracker\Front::init()
S
71 2 6
Mktr\Tracker\Front::saveOrder()
S
71 2 6
Mktr\Tracker\Model\Product::getImages()
S
65 2 10
Mktr\Tracker\Observer::init()
S
71 2 6
Mktr\Tracker\Routes\Brands::init()
S
71 2 6
Mktr\Tracker\Observer::pushStatus()
S
64 2 10
Mktr\Tracker\Front::google_body()
S
67 2 8
Mktr\Tracker\Model\Cron::init()
S
71 2 6
Mktr\Tracker\Model\Product::toArray()
S
68 2 7
Mktr\Tracker\Routes\Category::buildCategory()
S
65 2 8
Mktr\Tracker\Routes\Category::init()
S
71 2 6
Mktr\Tracker\Routes\Category::get()
S
69 2 7
Mktr\Tracker\Front::RemoveCartEventFilter()
S
68 2 7
Mktr\Tracker\Config::init()
S
71 2 6
Mktr\Tracker\Front::RemoveCartEvent()
S
67 2 7
Mktr\Tracker\Form::formFields()
S
67 2 7
Mktr\Tracker\Routes\Feed::init()
S
71 2 6
Mktr\Tracker\Session::init()
S
71 2 6
Mktr\Tracker\Model\Product::getCreate()
S
78 2 3
Mktr\Tracker\Routes\Brands::get()
S
69 2 7
Mktr\Tracker\Config::setValue()
S
64 2 10
Mktr\Tracker\Routes\Feed::get()
S
69 2 7
Mktr\Tracker\Routes\clearEvents::init()
S
71 2 6
Mktr\Tracker\Model\Product::checkTax()
S
75 2 4
Mktr\Tracker\Config::getDir()
S
69 2 7
Mktr\Tracker\Admin::addNotice()
S
74 2 4
Mktr\Tracker\Config::getPluginBase()
S
69 2 7
Mktr\Tracker\Config::getPlugin()
S
69 2 7
Mktr\Tracker\Admin::init()
S
71 2 6
Mktr\Tracker\Route::init()
S
71 2 6
Mktr\Tracker\Model\Order::toExtraArray()
S
67 2 8
Mktr\Tracker\Data::__construct()
S
64 2 10
Mktr\Tracker\Config::cleanSetup()
S
69 2 7
Mktr\Tracker\Data::init()
S
71 2 6
Mktr\Tracker\Run::init()
S
71 2 6
Mktr\Tracker\Routes\Orders::get()
S
70 2 6
Mktr\Tracker\Run::remove_from_wishlist()
S
70 2 6
Mktr\Tracker\Routes\CodeGenerator::get()
S
69 2 7
Mktr\Tracker\Data::addTo()
S
67 2 8
Mktr\Tracker\Valid::correctDate()
S
77 2 3
Mktr\Tracker\Run::add_to_wishlist()
S
70 2 6
Mktr\Tracker\Session::get()
S
74 2 4
Mktr\Tracker\Session::set()
S
72 2 5
Mktr\Tracker\Valid::init()
S
71 2 6
Mktr\Tracker\Events::init()
S
71 2 6
Mktr\Tracker\Events::build()
S
72 2 5
Mktr\Tracker\Valid::validateDate()
S
71 2 5
Mktr\Tracker\FileSystem::writeFile()
S
60 1 13
Mktr\Tracker\Array2XML::init()
S
62 1 12
Mktr\Tracker\Observer::emailAndPhone()
S
62 1 12
Mktr\Tracker\Data::save()
S
79 1 3
Mktr\Tracker\Array2XML::setFormatOutput()
S
79 1 3
Mktr\Tracker\Model\Order::getRefund()
S
80 1 3
Mktr\Tracker\Api::debug()
S
78 1 3
Mktr\Tracker\Routes\CodeGenerator::execute()
S
79 1 3
Mktr\Tracker\Model\Order::getDate()
S
79 1 3
Mktr\Tracker\Valid::getOutPut()
S
80 1 3
Mktr\Tracker\Model\Order::getAddress()
S
78 1 3
Mktr\Tracker\Route::loadEvents()
S
80 1 3
Mktr\Tracker\Route::Reviews()
S
80 1 3
Mktr\Tracker\Array2XML::getConvert()
S
79 1 3
Mktr\Tracker\Model\Order::__call()
S
80 1 3
Mktr\Tracker\Route::CodeGenerator()
S
80 1 3
Mktr\Tracker\Array2XML::getDomVersion()
S
80 1 3
Mktr\Tracker\Array2XML::setLabelAttributes()
S
79 1 3
Mktr\Tracker\Model\Category::__callStatic()
S
79 1 3
Mktr\Tracker\Array2XML::setLabelValue()
S
79 1 3
Mktr\Tracker\Data::del()
S
79 1 3
Mktr\Tracker\Config::REQUEST()
S
79 1 3
Mktr\Tracker\Model\Order::__callStatic()
S
79 1 3
Mktr\Tracker\Session::session()
S
80 1 3
Mktr\Tracker\Session::__set()
S
79 1 3
Mktr\Tracker\Array2XML::setLabelCData()
S
79 1 3
Mktr\Tracker\Route::Feed()
S
80 1 3
Mktr\Tracker\Route::setEmail()
S
80 1 3
Mktr\Tracker\Model\Product::__call()
S
80 1 3
Mktr\Tracker\Events::loader()
S
63 1 10
Mktr\Tracker\Config::__set()
S
79 1 3
Mktr\Tracker\Api::getInfo()
S
80 1 3
Mktr\Tracker\Admin::action_links()
S
67 1 8
Mktr\Tracker\Model\Product::getImage()
S
80 1 3
Mktr\Tracker\Array2XML::setStandalone()
S
79 1 3
Mktr\Tracker\Model\Product::getAvailability()
S
79 1 3
Mktr\Tracker\Route::clearEvents()
S
80 1 3
Mktr\Tracker\Array2XML::getLabelValue()
S
80 1 3
Mktr\Tracker\Config::getFireBaseMessaging()
S
80 1 3
Mktr\Tracker\Model\Product::getCat()
S
78 1 3
Mktr\Tracker\Config::getBaseURL()
S
79 1 3
Mktr\Tracker\Array2XML::setLabelDocType()
S
79 1 3
Mktr\Tracker\Config::__callStatic()
S
79 1 3
Mktr\Tracker\Valid::error()
S
80 1 3
Mktr\Tracker\FileSystem::getStatus()
S
80 1 3
Mktr\Tracker\Array2XML::getLabelCData()
S
80 1 3
Mktr\Tracker\Observer::orderUp()
S
68 1 7
Mktr\Tracker\Run::addRoute()
S
67 1 8
Mktr\Tracker\Form::clean()
S
80 1 3
Mktr\Tracker\Array2XML::getEncoding()
S
80 1 3
Mktr\Tracker\Data::getData()
S
80 1 3
Mktr\Tracker\Model\Category::__call()
S
80 1 3
Mktr\Tracker\Route::Category()
S
80 1 3
Mktr\Tracker\Array2XML::isStandalone()
S
80 1 3
Mktr\Tracker\FileSystem::fileExists()
S
79 1 3
Mktr\Tracker\Route::saveOrder()
S
80 1 3
Mktr\Tracker\Array2XML::createXML()
S
78 1 3
Mktr\Tracker\Api::getBody()
S
80 1 3
Mktr\Tracker\Valid::setParam()
S
75 1 4
Mktr\Tracker\Route::Brands()
S
80 1 3
Mktr\Tracker\Array2XML::getLabelAttributes()
S
80 1 3
Mktr\Tracker\Session::__get()
S
80 1 3
Mktr\Tracker\Array2XML::isFormatOutput()
S
80 1 3
Mktr\Tracker\Api::getParam()
S
80 1 3
Mktr\Tracker\Observer::saveOrder()
S
71 1 6
Mktr\Tracker\Config::__get()
S
80 1 3
Mktr\Tracker\Api::getContent()
S
80 1 3
Mktr\Tracker\Valid::validateTelephone()
S
78 1 3
Mktr\Tracker\Events::toJson()
S
80 1 3
Mktr\Tracker\Front::registerOrLogIn()
S
80 1 3
Mktr\Tracker\Config::getSVG()
S
80 1 3
Mktr\Tracker\Config::getFireBase()
S
80 1 3
Mktr\Tracker\Route::Orders()
S
80 1 3
Mktr\Tracker\FileSystem::getLastPath()
S
80 1 3
Mktr\Tracker\Api::send()
S
78 1 3
Mktr\Tracker\Config::__call()
S
80 1 3
Mktr\Tracker\Model\Product::__callStatic()
S
79 1 3
Mktr\Tracker\Data::__set()
S
79 1 3
Mktr\Tracker\Array2XML::setEncoding()
S
79 1 3
Mktr\Tracker\Model\Order::setRefund()
S
80 1 3
Mktr\Tracker\Run::cronAction()
S
82 1 3
Mktr\Tracker\Run::unInstall()
S
81 1 3
Mktr\Tracker\Valid::status()
S
79 1 3
Mktr\Tracker\Array2XML::setDomVersion()
S
79 1 3
Mktr\Tracker\Api::getStatus()
S
80 1 3
Mktr\Tracker\Valid::digit2()
S
78 1 3
Mktr\Tracker\Array2XML::getLabelDocType()
S
80 1 3
Mktr\Tracker\Api::getUrl()
S
80 1 3