Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.72ms] Passed 4 tests
An overview of server-side resources used by User Password Reset
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 37.20 ▼4.60 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.50 ▼7.69 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.12 ▼0.79 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 93.09 ▼1.78 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 37.05 ▲1.74 |
Author /wp-admin/admin.php?page=user_password_reset_author | 3.21 | 29.16 |
User Password Reset /wp-admin/admin.php?page=user_password_reset | 3.24 | 30.11 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by User Password Reset
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.77 ▲0.42 | 1.82 ▲0.01 | 45.18 ▼0.11 |
Dashboard /wp-admin | 2,227 ▲50 | 5.59 ▼0.08 | 90.75 ▼8.25 | 43.83 ▼1.08 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 2.01 ▼0.02 | 41.40 ▲5.01 | 36.44 ▼0.23 |
Add New Post /wp-admin/post-new.php | 1,550 ▲10 | 23.06 ▲0.04 | 671.46 ▼52.94 | 54.65 ▼14.89 |
Media Library /wp-admin/upload.php | 1,432 ▲32 | 4.17 ▼0.00 | 93.31 ▼16.21 | 45.52 ▼0.35 |
Author /wp-admin/admin.php?page=user_password_reset_author | 838 | 2.11 | 24.77 | 26.36 |
User Password Reset /wp-admin/admin.php?page=user_password_reset | 1,013 | 1.66 | 25.39 | 27.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=user_password_reset
- > Notice in wp-content/plugins/user-password-reset/admin/tuning.php+59
Undefined index: upr-searchUser
SRP 0% 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
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/user-password-reset/user-password-reset.php
- > /wp-content/plugins/user-password-reset/admin/author.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/user-password-reset/admin/menu.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #2, #3 in user-password-reset/assets to your readme.txt
- Tags: There are too many tags (19 tag instead of maximum 10)
user-password-reset/user-password-reset.php Passed 13 tests
The entry point to "User Password Reset" version 1.0 is a PHP file that has certain tags in its header comment area
66 characters long description:
reset all and selected users password and also search user by role
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected336 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 48 | 13 | 305 |
CSS | 1 | 3 | 0 | 31 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.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
PNG images were not found in this plugin