Code Analysis: Index WP Users For Speed 1.0.1

Function Rating Maintainability Complexity Lines of code
IndexWpUsersForSpeed\UserHandler::filtered_query_args()
B
40 20 53
IndexWpUsersForSpeed\UserHandler::mungCountTotal()
B
39 18 65
IndexWpUsersForSpeed\Admin::sanitize_settings()
B
40 17 56
IndexWpUsersForSpeed\UserHandler::mungRoleFilters()
A
46 12 38
IndexWpUsersForSpeed\UserHandler::filter_meta_sql()
A
46 10 35
IndexWpUsersForSpeed\WordPressHooks::register()
A
50 10 26
IndexWpUsersForSpeed\Indexer::updateIndexRole()
A
45 7 40
IndexWpUsersForSpeed\Indexer::maybeIndexEverything()
S
56 7 20
IndexWpUsersForSpeed\Task::setStatus()
S
55 7 19
IndexWpUsersForSpeed\Index_Wp_Users_For_Speed::__construct()
S
58 7 14
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\WordPressHooks::unregister()
S
59 6 13
IndexWpUsersForSpeed\UserHandler::getRoleFilterSets()
S
58 5 16
IndexWpUsersForSpeed\Admin::timeToSeconds()
S
59 5 14
IndexWpUsersForSpeed\Task::needsRunning()
S
62 5 12
IndexWpUsersForSpeed\ProgressBar::__construct()
S
56 4 16
IndexWpUsersForSpeed\Task::fractionComplete()
S
72 5 4
IndexWpUsersForSpeed\Indexer::getUserCounts()
S
61 4 14
IndexWpUsersForSpeed\Admin::render_auto_rebuild_field()
S
49 2 40
IndexWpUsersForSpeed\PopulateMetaIndexRoles::makeIndexerQueries()
S
48 2 38
IndexWpUsersForSpeed\ProgressBar::percent_complete_notice()
S
54 3 21
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\GetEditors::doChunk()
S
55 2 19
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\Indexer::getTodayMidnightTimestamp()
S
63 2 10
IndexWpUsersForSpeed\ProgressBar::heartbeat()
S
67 2 8
IndexWpUsersForSpeed\DepopulateMetaIndexes::doChunk()
S
58 1 15
IndexWpUsersForSpeed\Deactivator::depopulateIndexMetadata()
S
71 2 6
IndexWpUsersForSpeed\Task::__construct()
S
66 2 8
IndexWpUsersForSpeed\Indexer::getInstance()
S
69 2 7
IndexWpUsersForSpeed\Task::startChunk()
S
66 2 8
IndexWpUsersForSpeed\Task::doTaskStep()
S
64 2 10
IndexWpUsersForSpeed\Indexer::cleanupNow()
S
71 2 6
IndexWpUsersForSpeed\Indexer::nextDailyTimestamp()
S
67 2 8
IndexWpUsersForSpeed\Task::isMissing()
S
75 2 4
IndexWpUsersForSpeed\Indexer::fake_views_users()
S
63 2 10
IndexWpUsersForSpeed\Task::setBlog()
S
75 2 5
IndexWpUsersForSpeed\Task::restoreBlog()
S
75 2 5
IndexWpUsersForSpeed\Indexer::getEditors()
S
67 2 8
IndexWpUsersForSpeed\Admin::formatTime()
S
71 2 5
IndexWpUsersForSpeed\Reindex::doChunk()
S
61 1 14
IndexWpUsersForSpeed\Indexer::__construct()
S
78 1 3
IndexWpUsersForSpeed\Task::restorePersisted()
S
75 1 4
IndexWpUsersForSpeed\Task::clearPersisted()
S
72 1 5
IndexWpUsersForSpeed\UserHandler::action__pre_get_users()
S
77 1 4
IndexWpUsersForSpeed\UserHandler::action__rest_insert_user()
S
81 1 3
IndexWpUsersForSpeed\Indexer::metaIndexRoleFraction()
S
73 1 5
IndexWpUsersForSpeed\Indexer::isMetaIndexRoleAvailable()
S
73 1 5
IndexWpUsersForSpeed\Indexer::updateUserCountsForRoleChange()
S
75 1 4
IndexWpUsersForSpeed\Indexer::disableAutoRebuild()
S
74 1 5
IndexWpUsersForSpeed\Index_Wp_Users_For_Speed::get_version()
S
82 1 3
IndexWpUsersForSpeed\UserHandler::makeRoleQueryArgs()
S
69 1 6
IndexWpUsersForSpeed\Indexer::__clone()
S
91 1 2
IndexWpUsersForSpeed\UserHandler::action__remove_user_from_blog()
S
68 1 7
IndexWpUsersForSpeed\Reindex::needsDoing()
S
82 1 3
IndexWpUsersForSpeed\Indexer::getNetworkUserCount()
S
65 1 10
deactivate_index_wp_users_for_speed()
S
76 1 4
IndexWpUsersForSpeed\i18n::action__plugins_loaded()
S
69 1 7
IndexWpUsersForSpeed\UserHandler::filter__wp_dropdown_users_args()
S
79 1 3
IndexWpUsersForSpeed\Admin::render_admin_page()
S
72 1 5
IndexWpUsersForSpeed\Task::endChunk()
S
77 1 4
IndexWpUsersForSpeed\Indexer::rebuildNow()
S
81 1 3
IndexWpUsersForSpeed\Admin::__construct()
S
64 1 9
IndexWpUsersForSpeed\Activator::startIndexing()
S
89 1 2
IndexWpUsersForSpeed\DepopulateMetaIndexes::init()
S
70 1 6
IndexWpUsersForSpeed\WordPressHooks::__construct()
S
71 1 6
IndexWpUsersForSpeed\UserHandler::action__deleted_user()
S
72 1 5
IndexWpUsersForSpeed\DepopulateMetaIndexes::__construct()
S
67 1 8
IndexWpUsersForSpeed\UserHandler::__construct()
S
68 1 7
IndexWpUsersForSpeed\Indexer::__wakeup()
S
80 1 3
IndexWpUsersForSpeed\Index_Wp_Users_For_Speed::run()
S
91 1 2
IndexWpUsersForSpeed\GetEditors::__construct()
S
79 1 3
IndexWpUsersForSpeed\GetEditors::reset()
S
80 1 3
IndexWpUsersForSpeed\Index_Wp_Users_For_Speed::get_plugin_name()
S
82 1 3
IndexWpUsersForSpeed\ProgressBar::heartbeatSettings()
S
76 1 4
IndexWpUsersForSpeed\Task::doChunk()
S
100 1 0
IndexWpUsersForSpeed\Reindex::__construct()
S
75 1 4
IndexWpUsersForSpeed\Admin::render_now_remove_field()
S
70 1 10
IndexWpUsersForSpeed\Admin::action__admin_enqueue_scripts()
S
77 1 3
IndexWpUsersForSpeed\Admin::action__admin_menu()
S
65 1 10
IndexWpUsersForSpeed\Activator::activate()
S
81 1 3
IndexWpUsersForSpeed\UserHandler::action__rest_delete_user()
S
81 1 3
activate_index_wp_users_for_speed()
S
76 1 4
IndexWpUsersForSpeed\Task::getStatus()
S
75 1 4
IndexWpUsersForSpeed\UserHandler::action__set_user_role()
S
73 1 5
IndexWpUsersForSpeed\Indexer::getMaxUserId()
S
74 1 4
IndexWpUsersForSpeed\Admin::render_timing_section()
S
70 1 8
IndexWpUsersForSpeed\DepopulateMetaIndexes::getResult()
S
82 1 3
IndexWpUsersForSpeed\PopulateMetaIndexRoles::__construct()
S
72 1 5
IndexWpUsersForSpeed\PopulateMetaIndexRoles::getResult()
S
82 1 3
IndexWpUsersForSpeed\Task::cancel()
S
81 1 3
IndexWpUsersForSpeed\CountUsers::doChunk()
S
68 1 7
IndexWpUsersForSpeed\CountUsers::__construct()
S
79 1 3
IndexWpUsersForSpeed\UserHandler::filter__rest_user_query()
S
80 1 3
IndexWpUsersForSpeed\UserHandler::action__add_user_to_blog()
S
72 1 5
IndexWpUsersForSpeed\i18n::__construct()
S
81 1 3
IndexWpUsersForSpeed\Admin::render_empty()
S
82 1 3
IndexWpUsersForSpeed\UserHandler::action__rest_after_insert_user()
S
81 1 3
IndexWpUsersForSpeed\Admin::action_link()
S
69 1 6
IndexWpUsersForSpeed\Admin::render_now_rebuild_field()
S
70 1 10
IndexWpUsersForSpeed\Task::clearStatus()
S
75 1 4
IndexWpUsersForSpeed\Deactivator::deactivate()
S
72 1 6
IndexWpUsersForSpeed\Task::persist()
S
69 1 6
IndexWpUsersForSpeed\Indexer::enableAutoRebuild()
S
69 1 7
IndexWpUsersForSpeed\Task::init()
S
91 1 2
IndexWpUsersForSpeed\GetEditors::getResult()
S
79 1 3