Code Analysis: Count Per Day 3.6.1

Function Rating Maintainability Complexity Lines of code
CountPerDay::count()
D
27
41 115
CountPerDayCore::backup()
D
28
33 112
CountPerDayCore::restore()
C
36 30 63
CountPerDay::getUserPer_SQL()
B
34 19 85
CountPerDay::getFlotChart()
B
31 11 151
CpdGeoIp::updateDB()
A
44 16 36
CountPerDayCore::isBot()
A
48 16 30
CountPerDayCore::export()
A
38 13 61
CountPerDayCore::init()
A
39 13 58
CountPerDay::getUserOnline()
A
44 14 40
CountPerDay::getVisitedPostsOnDay()
A
42 13 49
CountPerDayCore::showQueries()
A
41 13 47
CountPerDayCore::createTables()
A
38 11 71
CountPerDay::getSearches()
A
45 12 38
CountPerDayCore::mysqlQuery()
A
45 12 37
CountPerDay::getMostVisitedPostIDs()
A
43 11 48
CountPerDayCore::addCollectionToCountries()
A
43 10 48
CountPerDay_Widget::widget()
A
47 11 31
CountPerDayCore::getPostID()
A
51 11 25
CountPerDay::getCountries()
A
45 10 38
CpdGeoIp::updateGeoIpFile()
A
49 10 28
CountPerDay::getMap()
A
47 9 33
CountPerDay_Widget::form()
A
36 5 89
CountPerDay::getClients()
A
44 8 40
CountPerDay::getMostVisitedPosts()
A
42 7 54
CountPerDayCore::inetPton()
A
47 8 33
CountPerDayCore::getSearchString()
A
55 9 17
CountPerDay_PopularPostsWidget::form()
A
50 8 29
CountPerDayCore::addCpdIncludes()
A
52 8 26
CountPerDay::getReferers()
A
50 8 23
CountPerDay::getUserPerMonth()
S
48 7 30
CountPerDay::getReadsPerMonth()
S
49 7 29
CountPerDayCore::loadGeoIpAddon()
S
51 6 26
CountPerDayCore::anonymize_ip()
S
55 6 19
CountPerDay_PopularPostsWidget::widget()
S
55 6 17
CountPerDay::getUserPerDay()
S
52 5 22
CountPerDayCore::checkVersion()
S
56 5 19
CountPerDayCore::cleanDB()
S
55 5 16
CountPerDay_PopularPostsWidget::update()
S
64 6 9
CountPerDay::show()
S
57 5 15
CountPerDayCore::updateOptions()
S
46 3 40
CpdGeoIp::getCountry()
S
55 4 19
CountPerDay::getDayWithMostUsers()
S
55 4 19
CountPerDay::getDayWithMostReads()
S
57 4 16
CountPerDayCore::getTableSize()
S
64 5 9
CountPerDayCore::getBytes()
S
61 4 13
CountPerDay::addMapScript()
S
49 2 42
CountPerDayCore::cpdColumnContent()
S
61 4 11
CountPerDayCore::onLoadPage()
S
49 3 25
CountPerDay::getLastVisitors()
S
54 3 22
CountPerDayCore::onShowPage()
S
49 2 33
CountPerDayCore::getCollectedPostReads()
S
67 4 7
CountPerDayCore::flush_buffers()
S
58 3 15
CountPerDayCore::updateFirstCount()
S
59 3 14
CountPerDay::getUserPerPost()
S
61 3 12
CountPerDayCore::updateCollectedDayMostReads()
S
66 3 8
CountPerDayCore::pluginActions()
S
62 3 10
CountPerDayCore::updateCollectedDayMostUsers()
S
66 3 8
CountPerDayCore::formatBytes()
S
67 3 6
CountPerDayCore::screenLayoutColumns()
S
72 3 5
CountPerDay::deleteOnlineCounter()
S
66 3 7
CountPerDay::getFirstCount()
S
64 3 9
CountPerDayCore::addCss()
S
65 3 8
CountPerDay_Widget::update()
S
65 3 9
CountPerDayCore::addShortcodes()
S
49 1 30
CountPerDayCore::checkInstalledVersion()
S
62 2 11
CountPerDayCore::addAjaxScript()
S
58 1 25
CountPerDay::dashboardReadsAtAll()
S
53 1 22
CountPerDayCore::addPostTypesColumns()
S
63 2 9
CountPerDayCore::getLastCollectedMonth()
S
74 2 4
CountPerDayCore::cpdColumn()
S
70 2 5
CountPerDayCore::getCollectedReads()
S
74 2 4
CountPerDay::getReadsLastWeek()
S
70 2 5
CountPerDayCore::dashboardWidgetSetup()
S
65 2 8
CountPerDayCore::getCollectedUsers()
S
74 2 4
CountPerDayCore::addJS()
S
73 2 4
CountPerDayCore::menu()
S
67 2 8
CountPerDayCore::getCollectedDayMostUsers()
S
74 2 4
CountPerDayCore::getCollectedData()
S
67 2 9
CountPerDay::getReadsYesterday()
S
70 2 5
CountPerDay::getReadsAll()
S
68 2 6
CountPerDay::getUserToday()
S
68 2 6
CountPerDay::getReadsToday()
S
68 2 6
CountPerDay::getUserYesterday()
S
70 2 5
CountPerDay::getUserLastWeek()
S
70 2 5
CountPerDay::getUserThisMonth()
S
67 2 6
CountPerDay::getReadsThisMonth()
S
67 2 6
CountPerDay::getUserAll()
S
67 2 6
CountPerDayCore::getCollectedDayMostReads()
S
74 2 4
count_per_day_uninstall()
S
60 1 14
CountPerDayCore::includeChartJS()
S
61 1 13
CountPerDayCore::getMassBots()
S
61 1 13
CountPerDayCore::shortReferers()
S
90 1 1
CountPerDayCore::shortReadsThisMonth()
S
92 1 1
CountPerDayCore::img()
S
79 1 3
CountPerDayCore::shortUserPerDay()
S
89 1 1
CountPerDayCore::shortUserOnline()
S
90 1 1
trim_value()
S
91 1 1
CountPerDayCore::getUserPerPostMeta()
S
94 1 1
CountPerDayCore::getCountriesMeta()
S
91 1 1
CountPerDayCore::shortReadsLastWeek()
S
92 1 1
CountPerDayCore::shortShowMap()
S
66 1 8
CountPerDayCore::shortUserAll()
S
92 1 1
CountPerDayCore::shortReadsToday()
S
92 1 1
CountPerDayCore::shortPostsOnDay()
S
68 1 7
CountPerDayCore::shortReadsYesterday()
S
92 1 1
CountPerDayCore::dashboardChartVisitorsMeta()
S
90 1 1
CountPerDayCore::shortClients()
S
92 1 1
CountPerDayCore::shortGetSearches()
S
68 1 7
CountPerDayCore::shortUserYesterday()
S
92 1 1
CountPerDayCore::shortCountries()
S
89 1 1
CountPerDayCore::addJquery()
S
82 1 3
CountPerDayCore::shortFirstCount()
S
92 1 1
CountPerDayCore::shortUserToday()
S
92 1 1
CountPerDayCore::getUserPerMonthMeta()
S
94 1 1
CountPerDay::__construct()
S
83 1 3
CountPerDayCore::cpdInfo()
S
67 1 7
CountPerDayCore::getReferersMeta()
S
90 1 1
CountPerDay_PopularPostsWidget::__construct()
S
69 1 7
CountPerDayCore::getCountriesVisitorsMeta()
S
90 1 1
CountPerDayCore::register_widgets()
S
78 1 4
CountPerDayCore::getReadsPerMonthMeta()
S
94 1 1
CountPerDayCore::dashboardChartMeta()
S
90 1 1
CountPerDayCore::addThickbox()
S
82 1 3
CountPerDayCore::shortUserLastWeek()
S
92 1 1
CountPerDayCore::getUserOnlineMeta()
S
91 1 1
CountPerDayCore::setAdminMenu()
S
70 1 5
CountPerDayCore::getVisitedPostsOnDayMeta()
S
91 1 1
CountPerDayCore::shortUserPerMonth()
S
91 1 1
CountPerDayCore::shortFlotChart()
S
92 1 1
CountPerDay::dashboardWidget()
S
68 1 7
CountPerDayCore::shortCountriesUsers()
S
90 1 1
CountPerDayCore::shortUserThisMonth()
S
92 1 1
CountPerDayCore::shortDayWithMostUsers()
S
91 1 1
CountPerDayCore::shortMostVisitedPosts()
S
65 1 9
CountPerDayCore::shortDayWithMostReads()
S
91 1 1
CountPerDayCore::getSearchesMeta()
S
94 1 1
CountPerDayCore::getMostVisitedPostsMeta()
S
94 1 1
CountPerDayCore::shortUserPerPost()
S
90 1 1
CountPerDayCore::shortShow()
S
90 1 1
CountPerDay_Widget::__construct()
S
68 1 6
CountPerDayCore::shortReadsPerMonth()
S
91 1 1
CountPerDayCore::shortReadsTotal()
S
92 1 1