Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.34MB] [CPU: ▼6.98ms] Passed 4 tests
This is a short check of server-side resources used by Index WP Users For Speed
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.03 | 39.47 ▲1.31 |
Dashboard /wp-admin | 3.81 ▲0.46 | 49.57 ▼9.78 |
Posts /wp-admin/edit.php | 3.86 ▲0.51 | 50.19 ▲0.65 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.44 | 83.42 ▼20.09 |
Media Library /wp-admin/upload.php | 3.67 ▲0.44 | 40.04 ▲7.10 |
Index For Speed /wp-admin/users.php?page=index-wp-users-for-speed | 3.72 | 35.77 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 32 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
index-wp-users-for-speed-options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Index WP Users For Speed
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.59 ▼0.68 | 1.66 ▼0.31 | 42.78 ▼5.63 |
Dashboard /wp-admin | 2,204 ▲16 | 5.80 ▼0.11 | 101.96 ▼4.56 | 40.37 ▼2.67 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.04 | 32.64 ▼8.02 | 35.32 ▼0.28 |
Add New Post /wp-admin/post-new.php | 1,545 ▲3 | 18.21 ▼0.15 | 608.11 ▼9.29 | 54.25 ▼5.01 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▼0.08 | 98.55 ▼0.38 | 42.54 ▼0.74 |
Index For Speed /wp-admin/users.php?page=index-wp-users-for-speed | 935 | 2.06 | 24.90 | 25.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- index-wp-users-for-speed-options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 15× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'IndexWpUsersForSpeed\\Indexer' not found in wp-content/plugins/index-wp-users-for-speed/admin/progressbar.php:32
- > PHP Warning
Use of undefined constant INDEX_WP_USERS_FOR_SPEED_NAME - assumed 'INDEX_WP_USERS_FOR_SPEED_NAME' (this will throw an Error in a future version of PHP) in wp-content/plugins/index-wp-users-for-speed/admin/progressbar.php on line 30
- > PHP Fatal error
Uncaught Error: Class 'IndexWpUsersForSpeed\\Task' not found in wp-content/plugins/index-wp-users-for-speed/includes/tasks/populate-meta-index-roles.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function IndexWpUsersForSpeed\\__() in wp-content/plugins/index-wp-users-for-speed/admin/views/page.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function IndexWpUsersForSpeed\\plugin_dir_path() in wp-content/plugins/index-wp-users-for-speed/includes/indexer.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function IndexWpUsersForSpeed\\add_action() in wp-content/plugins/index-wp-users-for-speed/includes/tasks/task.php:31
- > PHP Fatal error
Uncaught Error: Class 'IndexWpUsersForSpeed\\Task' not found in wp-content/plugins/index-wp-users-for-speed/includes/tasks/get-editors.php:12
- > PHP Fatal error
Uncaught Error: Class 'IndexWpUsersForSpeed\\Task' not found in wp-content/plugins/index-wp-users-for-speed/includes/tasks/reindex.php:8
- > PHP Fatal error
Uncaught Error: Class 'IndexWpUsersForSpeed\\Task' not found in wp-content/plugins/index-wp-users-for-speed/includes/tasks/depopulate-meta-indexes.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function IndexWpUsersForSpeed\\plugin_dir_path() in wp-content/plugins/index-wp-users-for-speed/admin/user-handler.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: performance, index, users, largesite, dashboard...
index-wp-users-for-speed/index-wp-users-for-speed.php Passed 13 tests
"Index WP Users For Speed" version 1.1.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
53 characters long description:
Speed up your WordPress site with thousands of users.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin2,072 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 388 | 857 | 1,886 |
JavaScript | 2 | 19 | 34 | 158 |
CSS | 2 | 4 | 2 | 28 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 18.81 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 127.00 |
Average method complexity | 3.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 2 | 12.50% |
▷ Concrete classes | 14 | 87.50% |
▷ Final classes | 0 | 0.00% |
Methods | 135 | |
▷ Static methods | 10 | 7.41% |
▷ Public methods | 104 | 77.04% |
▷ Protected methods | 8 | 5.93% |
▷ Private methods | 23 | 17.04% |
Functions | 9 | |
▷ Named functions | 5 | 55.56% |
▷ Anonymous functions | 4 | 44.44% |
Constants | 10 | |
▷ Global constants | 1 | 10.00% |
▷ Class constants | 9 | 90.00% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin