Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼4.95ms] Passed 4 tests
Server-side resources used by MASS Users Password Reset
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 41.73 ▼0.86 |
Dashboard /wp-admin | 3.39 ▲0.09 | 43.64 ▼3.01 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 43.80 ▼3.14 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 91.58 ▼10.84 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 34.90 ▼2.80 |
Mass Users Password Reset /wp-admin/users.php?page=mass_users_password_reset_options | 3.39 | 31.26 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
MASS Users Password Reset: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.35 ▼0.02 | 1.90 ▲0.18 | 43.45 ▲2.12 |
Dashboard /wp-admin | 2,199 ▲19 | 5.63 ▼0.03 | 82.66 ▼2.79 | 38.28 ▼7.60 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.97 ▼0.02 | 32.87 ▼4.82 | 33.60 ▼0.86 |
Add New Post /wp-admin/post-new.php | 1,540 ▲5 | 18.60 ▲0.26 | 648.00 ▲4.42 | 69.94 ▼0.86 |
Media Library /wp-admin/upload.php | 1,401 ▲7 | 4.21 ▼0.16 | 103.38 ▲7.53 | 45.44 ▲3.55 |
Mass Users Password Reset /wp-admin/users.php?page=mass_users_password_reset_options | 1,080 | 2.24 | 39.20 | 62.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- 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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/mass-users-password-reset/includes/class-mupr.php on line 4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/mass-users-password-reset/includes/class-mupr.php on line 4
- > PHP Warning
Use of undefined constant MASS_USERS_PASSWORD_RESET_PLUGIN_URL - assumed 'MASS_USERS_PASSWORD_RESET_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/mass-users-password-reset/admin/template/mupr-pro.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/mass-users-password-reset/admin/template/mupr-pro.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/mass-users-password-reset/admin/template/user-list.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/mass-users-password-reset/admin/template/mupr-admin.php:17
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/mass-users-password-reset/includes/class-mupr.php on line 4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: password reset, bulk reset password, reset password, password
mass-users-password-reset/mass-users-password-reset.php 92% from 13 tests
"MASS Users Password Reset" version 1.9's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 177 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
No dangerous file extensions were detected4,938 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 581 | 213 | 2,588 |
CSS | 2 | 20 | 22 | 1,577 |
PHP | 7 | 49 | 133 | 773 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 41.00 |
▷ Minimum class complexity | 41.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 4.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
17 PNG files occupy 0.13MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/client-logo2.png | 14.40KB | 4.71KB | ▼ 67.28% |
assets/images/mass-user-password-pro-logo.png | 6.99KB | 3.29KB | ▼ 52.85% |
assets/images/client-logo4.png | 10.01KB | 4.03KB | ▼ 59.79% |
assets/images/tick-mark.png | 0.45KB | 0.32KB | ▼ 27.41% |
assets/images/tick-mark1.png | 0.39KB | 0.27KB | ▼ 30.10% |