Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.73ms] Passed 4 tests
This is a short check of server-side resources used by Emergency Password Reset
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.67 ▼4.97 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.70 ▼6.82 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.11 ▼4.88 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 81.55 ▼18.25 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 33.50 ▼0.02 |
Emergency Password Reset /wp-admin/users.php?page=emergency_password_reset_main | 3.21 | 32.91 |
Reset SALTs /wp-admin/options-general.php?page=emergency_password_reset/index.php | 3.20 | 29.04 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
These are issues you should consider
- Illegal file modification detected: 1 file (4.19KB) outside of "wp-content/plugins/emergency-password-reset/" and "wp-content/uploads/"
- (modified) wp-config.php
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
emergency_password_reset_settings |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Emergency Password Reset
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 13.25 ▼1.37 | 1.86 ▲0.05 | 43.84 ▼0.59 |
Dashboard /wp-admin | 2,214 ▲26 | 5.82 ▲0.90 | 94.17 ▼12.47 | 37.72 ▼2.87 |
Posts /wp-admin/edit.php | 2,094 ▲8 | 2.06 ▲0.01 | 33.89 ▼6.20 | 34.83 ▲0.23 |
Add New Post /wp-admin/post-new.php | 1,554 ▲40 | 23.33 ▲5.78 | 665.32 ▼16.95 | 62.71 ▼2.31 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.23 ▲0.06 | 91.55 ▼21.39 | 39.24 ▼5.51 |
Emergency Password Reset /wp-admin/users.php?page=emergency_password_reset_main | 861 | 2.15 | 25.93 | 28.95 |
Reset SALTs /wp-admin/options-general.php?page=emergency_password_reset/index.php | 764 | 2.02 | 23.61 | 24.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- emergency_password_reset_settings
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means 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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/emergency-password-reset/index.php:14
- > 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 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (The main and only screen!) image missing
emergency-password-reset/index.php 92% from 13 tests
"Emergency Password Reset" version 8.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("emergency-password-reset.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin251 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 33 | 16 | 251 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 9 | |
▷ Named functions | 9 | 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
1 PNG file occupies 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 57.61KB | 15.83KB | ▼ 72.52% |