Code Analysis: Index WP Users For Speed 1.1.6

Function Rating Maintainability Complexity Lines of code
IndexWpUsersForSpeed\UserHandler::filtered_query_args()
C
38 25 63
IndexWpUsersForSpeed\UserHandler::mungCountTotal()
B
39 18 65
IndexWpUsersForSpeed\Admin::sanitize_settings()
B
40 17 56
IndexWpUsersForSpeed\UserHandler::mungRoleFilters()
A
44 14 46
IndexWpUsersForSpeed\UserHandler::filter_meta_sql()
A
46 13 35
IndexWpUsersForSpeed\UserHandler::filter__wp_dropdown_users_args()
A
50 12 25
IndexWpUsersForSpeed\Index_Wp_Users_For_Speed::__construct()
A
54 12 19
IndexWpUsersForSpeed\UserHandler::filter__users_pre_query()
A
50 10 28
IndexWpUsersForSpeed\WordPressHooks::register()
A
50 10 26
IndexWpUsersForSpeed\Task::doQuery()
A
51 8 27
need_cron()
A
51 8 26
IndexWpUsersForSpeed\SelectionBox::parseHtmlSelectInfo()
A
48 7 31
IndexWpUsersForSpeed\UserHandler::filter__wp_dropdown_users()
S
50 7 27
IndexWpUsersForSpeed\UserHandler::filter__pre_count_users()
S
53 7 24
IndexWpUsersForSpeed\Indexer::maybeIndexEverything()
S
56 7 20
IndexWpUsersForSpeed\Task::setStatus()
S
55 7 19
IndexWpUsersForSpeed\UserHandler::getRoleFilterSets()
S
56 7 18
IndexWpUsersForSpeed\UserHandler::filter__rest_request_after_callbacks()
S
57 7 16
IndexWpUsersForSpeed\Indexer::updateEditors()
S
53 6 23
index_wp_users_for_speed_do_task()
S
58 6 14
IndexWpUsersForSpeed\WordPressHooks::unregister()
S
59 6 13
IndexWpUsersForSpeed\Indexer::updateUserCounts()
S
58 5 16
IndexWpUsersForSpeed\Deactivator::deactivate()
S
58 5 15
IndexWpUsersForSpeed\Admin::timeToSeconds()
S
59 5 14
IndexWpUsersForSpeed\UserHandler::parseQuery()
S
60 5 13
IndexWpUsersForSpeed\Task::needsRunning()
S
62 5 12
IndexWpUsersForSpeed\SelectionBox::generateAutocomplete()
S
55 4 18
IndexWpUsersForSpeed\UserHandler::userRoleChange()
S
58 4 16
IndexWpUsersForSpeed\UserHandler::getCurrentUserRoles()
S
56 4 16
IndexWpUsersForSpeed\Task::fractionComplete()
S
72 5 4
IndexWpUsersForSpeed\ProgressBar::__construct()
S
58 4 14
IndexWpUsersForSpeed\Indexer::getUserCounts()
S
61 4 14
IndexWpUsersForSpeed\SelectionBox::generateSelect()
S
59 4 13
IndexWpUsersForSpeed\Admin::render_auto_rebuild_field()
S
49 2 42
IndexWpUsersForSpeed\Admin::addTimingSection()
S
48 2 38
IndexWpUsersForSpeed\PopulateMetaIndexRoles::makeIndexerQueries()
S
48 2 38
IndexWpUsersForSpeed\ProgressBar::percent_complete_notice()
S
54 3 21
IndexWpUsersForSpeed\PopulateMetaIndexRoles::doChunk()
S
54 3 20
IndexWpUsersForSpeed\Indexer::fakeUserCounts()
S
56 3 17
IndexWpUsersForSpeed\Task::schedule()
S
63 4 10
IndexWpUsersForSpeed\Task::log()
S
58 3 15
IndexWpUsersForSpeed\Task::isActive()
S
73 4 4
IndexWpUsersForSpeed\Task::maybeSchedule()
S
67 4 8
IndexWpUsersForSpeed\Task::isAvailable()
S
73 4 4
IndexWpUsersForSpeed\Task::toSnake()
S
59 3 14
IndexWpUsersForSpeed\GetEditors::doChunk()
S
51 2 25
IndexWpUsersForSpeed\Admin::render_quickedit_threshold_field()
S
58 2 18
IndexWpUsersForSpeed\Admin::render_rebuild_time_field()
S
59 2 16
IndexWpUsersForSpeed\UserHandler::flattenQuery()
S
64 3 10
IndexWpUsersForSpeed\Indexer::updateUserCountsTotal()
S
64 3 10
IndexWpUsersForSpeed\UserHandler::sanitizeCapabilitiesOption()
S
66 3 8
IndexWpUsersForSpeed\Indexer::writeLog()
S
57 2 15
IndexWpUsersForSpeed\Deactivator::deleteTransients()
S
61 2 12
IndexWpUsersForSpeed\PopulateMetaIndexRoles::init()
S
61 2 12
IndexWpUsersForSpeed\Task::generateCallTrace()
S
60 2 12
IndexWpUsersForSpeed\Indexer::removeNow()
S
64 2 11
IndexWpUsersForSpeed\DepopulateMetaIndexes::doChunk()
S
55 1 19
IndexWpUsersForSpeed\UserHandler::action__update_user_meta()
S
66 2 8
IndexWpUsersForSpeed\Deactivator::depopulateIndexMetadata()
S
67 2 8
IndexWpUsersForSpeed\Indexer::getInstance()
S
69 2 7
IndexWpUsersForSpeed\Task::__construct()
S
66 2 8
IndexWpUsersForSpeed\Indexer::getTodayMidnightTimestamp()
S
63 2 10
IndexWpUsersForSpeed\Task::restoreBlog()
S
75 2 5
IndexWpUsersForSpeed\Indexer::cleanupNow()
S
71 2 6
IndexWpUsersForSpeed\GetEditors::__construct()
S
72 2 5
IndexWpUsersForSpeed\Task::doTaskStep()
S
64 2 10
IndexWpUsersForSpeed\Task::isMissing()
S
75 2 4
IndexWpUsersForSpeed\Task::startChunk()
S
66 2 8
IndexWpUsersForSpeed\Indexer::getEditors()
S
67 2 8
IndexWpUsersForSpeed\Task::setBlog()
S
75 2 5
IndexWpUsersForSpeed\UserHandler::action__delete_user_meta()
S
66 2 8
IndexWpUsersForSpeed\ProgressBar::heartbeat()
S
67 2 8
IndexWpUsersForSpeed\Indexer::getNetworkUserCount()
S
68 2 7
kick_cron()
S
67 2 8
IndexWpUsersForSpeed\Admin::formatTime()
S
71 2 5
IndexWpUsersForSpeed\UserHandler::filter__rest_user_query()
S
64 2 9
IndexWpUsersForSpeed\Indexer::nextDailyTimestamp()
S
67 2 8
IndexWpUsersForSpeed\SelectionBox::addClass()
S
70 2 6
IndexWpUsersForSpeed\SelectionBox::__construct()
S
71 2 6
IndexWpUsersForSpeed\SelectionBox::removeClass()
S
70 2 6
IndexWpUsersForSpeed\Indexer::fake_views_users()
S
63 2 10
IndexWpUsersForSpeed\UserHandler::action__add_user_meta()
S
65 2 9
IndexWpUsersForSpeed\SelectionBox::prepend()
S
68 2 7
IndexWpUsersForSpeed\Reindex::doChunk()
S
61 1 14
IndexWpUsersForSpeed\Indexer::enableAutoRebuild()
S
69 1 7
IndexWpUsersForSpeed\Reindex::__construct()
S
75 1 4
IndexWpUsersForSpeed\Admin::render_admin_page()
S
68 1 6
IndexWpUsersForSpeed\Indexer::__clone()
S
91 1 2
IndexWpUsersForSpeed\Admin::action__admin_menu()
S
65 1 10
IndexWpUsersForSpeed\Index_Wp_Users_For_Speed::run()
S
91 1 2
IndexWpUsersForSpeed\UserHandler::filter__wp_is_large_user_count()
S
82 1 3
IndexWpUsersForSpeed\GetEditors::getResult()
S
79 1 3
IndexWpUsersForSpeed\Task::init()
S
91 1 2
IndexWpUsersForSpeed\Task::restorePersisted()
S
75 1 4
IndexWpUsersForSpeed\Task::clearStatus()
S
75 1 4
IndexWpUsersForSpeed\Indexer::rebuildNow()
S
81 1 3
IndexWpUsersForSpeed\DepopulateMetaIndexes::__construct()
S
67 1 8
IndexWpUsersForSpeed\SelectionBox::classes()
S
78 1 3
IndexWpUsersForSpeed\Indexer::disableAutoRebuild()
S
74 1 5
IndexWpUsersForSpeed\UserHandler::__construct()
S
66 1 8
IndexWpUsersForSpeed\PopulateMetaIndexRoles::getResult()
S
82 1 3
IndexWpUsersForSpeed\UserHandler::isCapabilitiesKey()
S
76 1 4
IndexWpUsersForSpeed\Indexer::metaIndexRoleFraction()
S
73 1 5
deactivate_index_wp_users_for_speed()
S
76 1 4
IndexWpUsersForSpeed\Index_Wp_Users_For_Speed::get_version()
S
82 1 3
IndexWpUsersForSpeed\i18n::__construct()
S
81 1 3
IndexWpUsersForSpeed\Reindex::needsDoing()
S
82 1 3
IndexWpUsersForSpeed\i18n::action__plugins_loaded()
S
69 1 7
IndexWpUsersForSpeed\Indexer::__wakeup()
S
80 1 3
IndexWpUsersForSpeed\Index_Wp_Users_For_Speed::get_plugin_name()
S
82 1 3
IndexWpUsersForSpeed\Admin::render_quickedit_section()
S
70 1 9
IndexWpUsersForSpeed\Task::clearPersisted()
S
72 1 5
IndexWpUsersForSpeed\ProgressBar::heartbeatSettings()
S
76 1 4
IndexWpUsersForSpeed\Task::doChunk()
S
100 1 0
IndexWpUsersForSpeed\GetEditors::reset()
S
80 1 3
IndexWpUsersForSpeed\PopulateMetaIndexRoles::__construct()
S
72 1 5
IndexWpUsersForSpeed\Admin::render_now_rebuild_field()
S
70 1 10
IndexWpUsersForSpeed\Indexer::removeIndexRole()
S
70 1 6
IndexWpUsersForSpeed\WordPressHooks::__construct()
S
71 1 6
IndexWpUsersForSpeed\Task::getStatus()
S
75 1 4
IndexWpUsersForSpeed\Admin::render_now_remove_field()
S
70 1 10
IndexWpUsersForSpeed\CountUsers::doChunk()
S
68 1 7
IndexWpUsersForSpeed\UserHandler::action__pre_get_users()
S
77 1 4
IndexWpUsersForSpeed\Admin::render_indexing_section()
S
70 1 8
IndexWpUsersForSpeed\Admin::action_link()
S
69 1 6
activate_index_wp_users_for_speed()
S
76 1 4
IndexWpUsersForSpeed\Activator::activate()
S
81 1 3
IndexWpUsersForSpeed\Indexer::getMaxUserId()
S
74 1 4
IndexWpUsersForSpeed\Indexer::addIndexRole()
S
69 1 6
IndexWpUsersForSpeed\Activator::startIndexing()
S
89 1 2
IndexWpUsersForSpeed\CountUsers::__construct()
S
79 1 3
IndexWpUsersForSpeed\Indexer::__construct()
S
78 1 3
IndexWpUsersForSpeed\DepopulateMetaIndexes::init()
S
70 1 6
IndexWpUsersForSpeed\Task::endChunk()
S
77 1 4
IndexWpUsersForSpeed\Indexer::isMetaIndexRoleAvailable()
S
73 1 5
IndexWpUsersForSpeed\Task::persist()
S
69 1 6
IndexWpUsersForSpeed\Task::cancel()
S
81 1 3
IndexWpUsersForSpeed\UserHandler::makeRoleQueryArgs()
S
69 1 6
IndexWpUsersForSpeed\Admin::__construct()
S
64 1 9
IndexWpUsersForSpeed\DepopulateMetaIndexes::getResult()
S
82 1 3