Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼6.74ms] Passed 4 tests
A check of server-side resources used by Bulk Password Reset
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.11 | 35.77 ▼8.21 |
Dashboard /wp-admin | 3.46 ▲0.07 | 50.53 ▼13.70 |
Posts /wp-admin/edit.php | 3.63 ▲0.24 | 49.86 ▼1.41 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.11 | 96.09 ▼3.62 |
Media Library /wp-admin/upload.php | 3.38 ▲0.11 | 36.48 ▼1.36 |
Bulk Password Reset /wp-admin/users.php?page=bulk_password_reset | 3.33 | 34.90 |
Server storage [IO: ▲0.22MB] [DB: ▲0.08MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
bpr_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Bulk Password Reset
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.33 ▼0.26 | 1.73 ▲0.19 | 43.00 ▲0.03 |
Dashboard /wp-admin | 2,199 ▲19 | 5.55 ▼0.09 | 86.09 ▼0.17 | 40.29 ▼3.70 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.98 ▲0.04 | 36.80 ▼0.42 | 34.05 ▼1.80 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.27 ▲0.38 | 647.88 ▼16.61 | 59.00 ▼11.94 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.20 ▼0.01 | 97.27 ▼15.79 | 44.94 ▼3.29 |
Bulk Password Reset /wp-admin/users.php?page=bulk_password_reset | 1,228 | 4.84 | 51.88 | 33.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- bpr_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/users.php?page=bulk_password_reset
- > Notice in wp-content/plugins/bulk-password-reset/bulk_password_reset.php+217
Undefined variable: user_ID
- > GET request to /wp-admin/users.php?page=bulk_password_reset
- > Notice in wp-content/plugins/bulk-password-reset/bulk_password_reset.php+222
Undefined variable: send_roles
- > GET request to /wp-admin/users.php?page=bulk_password_reset
- > Notice in wp-content/plugins/bulk-password-reset/bulk_password_reset.php+289
Undefined variable: upload
- > GET request to /wp-admin/users.php?page=bulk_password_reset
- > Notice in wp-content/plugins/bulk-password-reset/bulk_password_reset.php+289
Trying to access array offset on value of type null
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_locale() in wp-content/plugins/bulk-password-reset/bulk_password_reset.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add an image for screenshot #1 (Screen shot Admin Area)
bulk-password-reset/bulk_password_reset.php 85% from 13 tests
The main PHP script in "Bulk Password Reset" version 1.3.3 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("bulk-password-reset.php" instead of "bulk_password_reset.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 186 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin831 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 109 | 103 | 506 |
PO File | 2 | 97 | 248 | 268 |
CSS | 1 | 12 | 0 | 57 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 70.00 |
▷ Minimum class complexity | 70.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 4.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected