Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/lh-recover-password/lh-recover-password.php+44
Trying to access array offset on value of type bool
Server metrics [RAM: ▼0.19MB] [CPU: ▼13.76ms] Passed 4 tests
An overview of server-side resources used by LH Recover Password
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▼0.63 | 20.15 ▼21.45 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.26 ▼1.82 |
Posts /wp-admin/edit.php | 3.18 ▼0.17 | 31.48 ▼15.90 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 83.09 ▼15.88 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 33.92 ▲0.63 |
Recover Password /wp-admin/options-general.php?page=lh-recover-password/lh-recover-password.php | 3.27 | 38.72 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
lh_recover_password-options |
Browser metrics Passed 4 tests
Checking browser requirements for LH Recover Password
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.21 ▼1.18 | 2.89 ▲0.98 | 46.47 ▲3.37 |
Dashboard /wp-admin | 2,210 ▲28 | 4.92 ▼0.95 | 104.67 ▼0.98 | 37.77 ▼8.93 |
Posts /wp-admin/edit.php | 2,090 ▼2 | 2.02 ▲0.01 | 36.60 ▼5.81 | 32.70 ▼4.96 |
Add New Post /wp-admin/post-new.php | 1,517 ▼2 | 17.61 ▼5.28 | 590.75 ▼72.58 | 51.96 ▼1.76 |
Media Library /wp-admin/upload.php | 1,392 ▲13 | 4.21 ▼0.03 | 95.50 ▼7.58 | 43.81 ▼1.59 |
Recover Password /wp-admin/options-general.php?page=lh-recover-password/lh-recover-password.php | 1,557 | 6.89 | 137.88 | 64.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
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/options-general.php?page=lh-recover-password/lh-recover-password.php
- > Notice in wp-content/plugins/lh-recover-password/lh-recover-password.php+178
Undefined index: lh_recover_password-front_end-form-nonce
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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/lh-recover-password/lh-recover-password.php:403
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Requires at least: Invalid plugin version format
lh-recover-password/lh-recover-password.php Passed 13 tests
"LH Recover Password" version 1.13's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
41 characters long description:
Creates a front end recover password form
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin208 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 208 | 25 | 202 |
JavaScript | 1 | 5 | 0 | 6 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 32.00 |
▷ Minimum class complexity | 32.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 3.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 8.33% |
Functions | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin