Code Analysis: Index WP Users For Speed 1.0.0

Function Rating Maintainability Complexity Lines of code
IndexWpUsersForSpeed\UserHandler::mungCountTotal()
B
40 17 59
IndexWpUsersForSpeed\Admin::sanitize_settings()
B
40 17 56
IndexWpUsersForSpeed\UserHandler::mungRoleFilters()
A
46 12 38
IndexWpUsersForSpeed\Indexer::updateIndexRole()
A
45 7 40
IndexWpUsersForSpeed\UserHandler::filter__rest_user_query()
S
60 8 12
IndexWpUsersForSpeed\Indexer::maybeIndexEverything()
S
56 7 20
IndexWpUsersForSpeed\Task::setStatus()
S
55 7 19
IndexWpUsersForSpeed\Index_Wp_Users_For_Speed::__construct()
S
59 7 13
IndexWpUsersForSpeed\Indexer::updateEditors()
S
53 6 23
IndexWpUsersForSpeed\UserHandler::filter__pre_count_users()
S
55 6 21
IndexWpUsersForSpeed\Indexer::updateUserCounts()
S
56 6 19
IndexWpUsersForSpeed\UserHandler::getRoleFilterSets()
S
58 5 16
IndexWpUsersForSpeed\Admin::timeToSeconds()
S
59 5 14
IndexWpUsersForSpeed\Task::needsRunning()
S
62 5 12
IndexWpUsersForSpeed\UserHandler::filter__wp_dropdown_users_args()
S
63 5 10
IndexWpUsersForSpeed\WordPressHooks::register()
S
57 4 15
IndexWpUsersForSpeed\WordPressHooks::unregister()
S
59 4 13
IndexWpUsersForSpeed\Admin::render_auto_rebuild_field()
S
49 2 40
IndexWpUsersForSpeed\PopulateMetaIndexRoles::makeIndexerQueries()
S
48 2 38
IndexWpUsersForSpeed\GetEditors::doChunk()
S
55 3 19
IndexWpUsersForSpeed\Indexer::fakeUserCounts()
S
56 3 17
index_wp_users_for_speed_do_task()
S
63 4 10
IndexWpUsersForSpeed\Task::schedule()
S
63 4 10
IndexWpUsersForSpeed\Task::maybeSchedule()
S
67 4 8
IndexWpUsersForSpeed\Task::isActive()
S
73 4 4
IndexWpUsersForSpeed\Task::isAvailable()
S
73 4 4
IndexWpUsersForSpeed\Admin::addTimingSection()
S
51 2 29
IndexWpUsersForSpeed\Task::toSnake()
S
60 3 13
IndexWpUsersForSpeed\Indexer::removeIndexRole()
S
60 3 13
IndexWpUsersForSpeed\Indexer::getUserCounts()
S
62 3 12
IndexWpUsersForSpeed\PopulateMetaIndexRoles::doChunk()
S
56 2 17
IndexWpUsersForSpeed\Admin::render_rebuild_time_field()
S
60 2 16
IndexWpUsersForSpeed\Task::log()
S
59 2 14
IndexWpUsersForSpeed\Deactivator::deleteTransients()
S
61 2 12
IndexWpUsersForSpeed\PopulateMetaIndexRoles::init()
S
61 2 12
IndexWpUsersForSpeed\Indexer::writeLog()
S
60 2 12
IndexWpUsersForSpeed\Indexer::removeNow()
S
64 2 11
IndexWpUsersForSpeed\DepopulateMetaIndexes::doChunk()
S
58 1 15
IndexWpUsersForSpeed\Deactivator::depopulateIndexMetadata()
S
71 2 6
IndexWpUsersForSpeed\Indexer::getInstance()
S
69 2 7
IndexWpUsersForSpeed\Task::__construct()
S
66 2 8
IndexWpUsersForSpeed\Indexer::cleanupNow()
S
71 2 6
IndexWpUsersForSpeed\Task::doTaskStep()
S
64 2 10
IndexWpUsersForSpeed\Task::setBlog()
S
75 2 5
IndexWpUsersForSpeed\Indexer::getTodayMidnightTimestamp()
S
63 2 10
IndexWpUsersForSpeed\Indexer::nextDailyTimestamp()
S
67 2 8
IndexWpUsersForSpeed\Indexer::fake_views_users()
S
63 2 10
IndexWpUsersForSpeed\Task::startChunk()
S
66 2 8
IndexWpUsersForSpeed\Indexer::getEditors()
S
67 2 8
IndexWpUsersForSpeed\Task::isMissing()
S
75 2 4
IndexWpUsersForSpeed\Admin::formatTime()
S
71 2 5
IndexWpUsersForSpeed\Task::restoreBlog()
S
75 2 5
IndexWpUsersForSpeed\Reindex::doChunk()
S
61 1 14
IndexWpUsersForSpeed\Task::endChunk()
S
77 1 4
IndexWpUsersForSpeed\UserHandler::__construct()
S
68 1 7
IndexWpUsersForSpeed\Task::clearStatus()
S
75 1 4
IndexWpUsersForSpeed\UserHandler::makeRoleQueryArgs()
S
69 1 6
IndexWpUsersForSpeed\Indexer::disableAutoRebuild()
S
74 1 5
IndexWpUsersForSpeed\Admin::action__admin_enqueue_scripts()
S
77 1 3
IndexWpUsersForSpeed\Task::getStatus()
S
75 1 4
IndexWpUsersForSpeed\Indexer::getNetworkUserCount()
S
65 1 10
IndexWpUsersForSpeed\PopulateMetaIndexRoles::getResult()
S
82 1 3
IndexWpUsersForSpeed\Index_Wp_Users_For_Speed::get_plugin_name()
S
82 1 3
IndexWpUsersForSpeed\Reindex::needsDoing()
S
82 1 3
IndexWpUsersForSpeed\PopulateMetaIndexRoles::__construct()
S
72 1 5
IndexWpUsersForSpeed\Admin::action__admin_menu()
S
65 1 10
IndexWpUsersForSpeed\UserHandler::action__rest_insert_user()
S
81 1 3
IndexWpUsersForSpeed\Admin::render_empty()
S
82 1 3
IndexWpUsersForSpeed\Indexer::__construct()
S
78 1 3
IndexWpUsersForSpeed\WordPressHooks::__construct()
S
71 1 6
IndexWpUsersForSpeed\DepopulateMetaIndexes::getResult()
S
82 1 3
IndexWpUsersForSpeed\UserHandler::action__add_user_to_blog()
S
72 1 5
IndexWpUsersForSpeed\Admin::render_admin_page()
S
72 1 5
IndexWpUsersForSpeed\UserHandler::action__deleted_user()
S
72 1 5
IndexWpUsersForSpeed\DepopulateMetaIndexes::__construct()
S
67 1 8
IndexWpUsersForSpeed\i18n::__construct()
S
81 1 3
IndexWpUsersForSpeed\Indexer::rebuildNow()
S
81 1 3
IndexWpUsersForSpeed\Index_Wp_Users_For_Speed::get_version()
S
82 1 3
IndexWpUsersForSpeed\GetEditors::reset()
S
80 1 3
IndexWpUsersForSpeed\DepopulateMetaIndexes::init()
S
70 1 6
IndexWpUsersForSpeed\Task::init()
S
91 1 2
IndexWpUsersForSpeed\Indexer::enableAutoRebuild()
S
69 1 7
IndexWpUsersForSpeed\GetEditors::__construct()
S
79 1 3
IndexWpUsersForSpeed\Admin::render_now_remove_field()
S
70 1 10
IndexWpUsersForSpeed\Indexer::updateUserCountsForRoleChange()
S
75 1 4
IndexWpUsersForSpeed\Admin::render_now_rebuild_field()
S
70 1 10
IndexWpUsersForSpeed\Indexer::__wakeup()
S
80 1 3
IndexWpUsersForSpeed\CountUsers::__construct()
S
79 1 3
IndexWpUsersForSpeed\Admin::render_timing_section()
S
70 1 8
activate_index_wp_users_for_speed()
S
76 1 4
IndexWpUsersForSpeed\Indexer::__clone()
S
91 1 2
IndexWpUsersForSpeed\Task::clearPersisted()
S
72 1 5
IndexWpUsersForSpeed\Admin::action_link()
S
69 1 6
IndexWpUsersForSpeed\UserHandler::action__set_user_role()
S
73 1 5
IndexWpUsersForSpeed\GetEditors::getResult()
S
79 1 3
IndexWpUsersForSpeed\Reindex::__construct()
S
75 1 4
IndexWpUsersForSpeed\Task::restorePersisted()
S
75 1 4
deactivate_index_wp_users_for_speed()
S
76 1 4
IndexWpUsersForSpeed\UserHandler::action__rest_after_insert_user()
S
81 1 3
IndexWpUsersForSpeed\Admin::__construct()
S
65 1 8
IndexWpUsersForSpeed\CountUsers::doChunk()
S
68 1 7
IndexWpUsersForSpeed\UserHandler::action__rest_delete_user()
S
81 1 3
IndexWpUsersForSpeed\Task::doChunk()
S
100 1 0
IndexWpUsersForSpeed\Deactivator::deactivate()
S
72 1 6
IndexWpUsersForSpeed\UserHandler::action__remove_user_from_blog()
S
68 1 7
IndexWpUsersForSpeed\Index_Wp_Users_For_Speed::run()
S
91 1 2
IndexWpUsersForSpeed\Activator::startIndexing()
S
89 1 2
IndexWpUsersForSpeed\UserHandler::action__pre_get_users()
S
77 1 4
IndexWpUsersForSpeed\i18n::action__plugins_loaded()
S
69 1 7
IndexWpUsersForSpeed\Activator::activate()
S
81 1 3
IndexWpUsersForSpeed\Task::persist()
S
69 1 6
IndexWpUsersForSpeed\Indexer::getMaxUserId()
S
74 1 4
IndexWpUsersForSpeed\Task::cancel()
S
81 1 3