Code Analysis: Selfie 0.2.2

Function Rating Maintainability Complexity Lines of code
Selfie_Utility::getPricingGrid()
C
34 24 87
Selfie_Core::autoSelfie()
A
50 14 25
Selfie_Utility::incrementSelfieViewCounts()
A
48 10 34
Selfie_Utility::getInlineSelfieStyle()
A
57 11 15
Selfie_Core::shortcode()
A
46 9 37
Selfie_Core::adminWarningCallback()
A
54 10 19
Selfie_Utility::getAllPostMeta()
A
55 9 19
Selfie_Utility::superEntities()
A
55 9 17
Selfie_Utility::getConfigData()
A
46 7 39
Selfie_Ajax::saveSettings()
S
45 6 43
Selfie_Log::__construct()
S
49 6 33
Selfie_Log::_getTimeLine()
S
57 6 18
Selfie_Ajax::createNetwork()
S
48 5 33
Selfie_Core::adminMenuCallback()
S
45 4 44
Selfie_Cache::get()
S
58 6 14
Selfie_Utility::getSelfieZoneId()
S
51 5 28
Selfie_Utility::checkApiKey()
S
52 5 28
Selfie_Utility::getSelfieLikeCount()
S
60 6 13
Selfie_Core::pricingWebhook()
S
50 5 27
Selfie_View::load()
S
53 5 25
Selfie_Utility::likeSelfie()
S
53 5 22
Selfie_Log::_stringToLevel()
S
64 6 9
Selfie_Utility::getBroadstreetMessage()
S
57 5 15
Selfie_Utility::getSelfiePrice()
S
59 5 12
Selfie_Utility::getSelfieStyles()
S
41 1 69
Selfie_Utility::sendInstallReportIfNew()
S
54 4 22
Selfie_Core::selfieAbout()
S
47 3 36
Selfie_Core::adminInitCallback()
S
55 4 18
Selfie_Utility::getNetwork()
S
57 4 18
Selfie_Ajax::likeSelfie()
S
59 4 14
Selfie_Config::getValue()
S
60 4 14
Selfie_Log::instance()
S
61 4 13
Selfie_Utility::getFakePostId()
S
51 3 27
Selfie_Log::writeFreeFormLine()
S
64 4 10
Selfie_Utility::interpolatePricing()
S
64 4 8
Selfie_Ajax::register()
S
50 2 29
Selfie_Core::addZoneTag()
S
62 3 12
Selfie_Core::addSelfieStyling()
S
53 2 24
Selfie_Utility::flushRewrites()
S
69 3 7
Selfie_Core::savePostMeta()
S
72 3 4
Selfie_Utility::inExcerpt()
S
68 3 7
Selfie_Cache::_prepareKey()
S
64 3 9
Selfie_Zone_Widget::widget()
S
57 2 15
Selfie_Cache::_checkWP()
S
69 3 6
Selfie_Ajax::saveConfig()
S
60 2 14
Selfie_Utility::setOption()
S
62 2 12
Selfie_View::tryLoad()
S
61 2 12
Selfie_Cache::_setOption()
S
64 2 11
Selfie_Core::_registerHooks()
S
52 1 23
Selfie_Log::log()
S
68 2 7
Selfie_Cache::set()
S
64 2 9
Selfie_Utility::getApiKey()
S
69 2 7
Selfie_Cache::_getOption()
S
70 2 6
Selfie_Utility::getOption()
S
72 2 5
Selfie_Utility::fixURL()
S
72 2 5
Selfie_Utility::setPostMeta()
S
64 2 10
Selfie_Config::_getInstance()
S
73 2 5
Selfie_Utility::arrayGet()
S
70 2 6
Selfie_Utility::getPostMeta()
S
71 2 5
Selfie_Log::__destruct()
S
77 2 4
Selfie_Core::addMetaBoxes()
S
62 1 14
Selfie_Core::registerWidgets()
S
81 1 3
Selfie_Config::setConfig()
S
63 1 10
Selfie_Cache::flush()
S
80 1 3
Selfie_Utility::getCSSBaseURL()
S
79 1 3
Selfie_Config::setValue()
S
79 1 3
Selfie_Core::adminMenuHelpCallback()
S
81 1 3
Selfie_Utility::getBroadstreetBaseURL()
S
79 1 3
Selfie_Core::execute()
S
82 1 3
Selfie_Utility::toTime()
S
78 1 3
Selfie_Log::logFatal()
S
80 1 3
Selfie_Utility::jsonResponse()
S
65 1 9
Selfie_Log::getLogFilePath()
S
82 1 3
Selfie_Zone_Widget::__construct()
S
74 1 4
Selfie_Utility::getServiceTag()
S
78 1 3
Selfie_Log::logInfo()
S
80 1 3
Selfie_Core::validSelfiePostType()
S
78 1 3
Selfie_Utility::luckyShot()
S
78 1 3
Selfie_Core::__construct()
S
80 1 3
Selfie_Utility::registerLogErrorHandlers()
S
75 1 4
Selfie_Utility::getNetworkId()
S
80 1 3
Selfie_Core::generalScriptCallback()
S
71 1 5
Selfie_Utility::getJSBaseURL()
S
79 1 3
Selfie_Core::getBroadstreetClient()
S
76 1 4
Selfie_Config::set()
S
78 1 3
Selfie_Utility::broadstreetLink()
S
69 1 6
Selfie_Core::adminMenuTipsCallback()
S
81 1 3
Selfie_Config::__construct()
S
82 1 3
Selfie_Utility::handleException()
S
78 1 3
Selfie_Utility::sendReport()
S
63 1 10
Selfie_Log::logWarn()
S
80 1 3
Selfie_Utility::setSelfieZoneId()
S
78 1 3
Selfie_Utility::getVendorBaseURL()
S
79 1 3
Selfie_Core::selfieInfoBox()
S
68 1 6
Selfie_Utility::getSiteBaseURL()
S
80 1 3
Selfie_Log::logError()
S
80 1 3
Selfie_Zone_Widget::form()
S
100 1 5
Selfie_Config::get()
S
78 1 3
Selfie_Utility::getImageBaseURL()
S
79 1 3
Selfie_Log::add()
S
78 1 3
Selfie_Core::registerWidget()
S
91 1 2
Selfie_Cache::delete()
S
80 1 3
Selfie_Zone_Widget::update()
S
100 1 2
Selfie_Core::adminCallback()
S
66 1 7
Selfie_Log::logDebug()
S
80 1 3
Selfie_Utility::handleError()
S
77 1 3