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
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼4.83ms] Passed 4 tests
A check of server-side resources used by Flaming Password Reset
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.05 ▼7.35 |
Dashboard /wp-admin | 3.42 ▲0.12 | 43.46 ▼6.63 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 46.82 ▼0.95 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 84.89 ▼2.57 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 33.34 ▼2.77 |
Flaming Password Reset /wp-admin/options-general.php?page=FlamingPasswordReset | 3.32 | 38.69 |
Reset User Password /wp-admin/admin.php?page=flaming_password_reset_user | 3.26 | 28.05 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
FlamingPasswordReset |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Flaming Password Reset: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.18 ▼1.18 | 2.03 ▼0.10 | 41.59 ▼10.14 |
Dashboard /wp-admin | 2,210 ▲22 | 4.84 ▼0.05 | 108.07 ▼3.10 | 40.65 ▼6.65 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▲0.02 | 39.19 ▲2.33 | 33.53 ▼3.10 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.27 ▲0.27 | 657.93 ▼22.84 | 58.96 ▲5.80 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▲0.07 | 94.17 ▼18.30 | 42.59 ▼2.72 |
Flaming Password Reset /wp-admin/options-general.php?page=FlamingPasswordReset | 1,363 | 5.57 | 107.40 | 59.52 |
Reset User Password /wp-admin/admin.php?page=flaming_password_reset_user | 1,337 | 1.68 | 26.21 | 31.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/flaming-password-reset/views/EmailTemplate.php
- 6× PHP files trigger server errors when accessed directly:
- > PHP Warning
Use of undefined constant FLAMING_PASSWORDRESET_VER - assumed 'FLAMING_PASSWORDRESET_VER' (this will throw an Error in a future version of PHP) in wp-content/plugins/flaming-password-reset/views/Settings.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/flaming-password-reset/flaming_password_reset.php:20
- > PHP Warning
Use of undefined constant FLAMING_PASSWORDRESET_VER - assumed 'FLAMING_PASSWORDRESET_VER' (this will throw an Error in a future version of PHP) in wp-content/plugins/flaming-password-reset/views/ResetUser.php on line 12
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/flaming-password-reset/views/Settings.php:19
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/flaming-password-reset/views/ResetUser.php:14
- > PHP Warning
Use of undefined constant FLAMING_PASSWORD_RESET_PAGE - assumed 'FLAMING_PASSWORD_RESET_PAGE' (this will throw an Error in a future version of PHP) in wp-content/plugins/flaming-password-reset/views/ResetUser.php on line 14
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: Add an image for screenshot #4 (You should then see one of two messages; 'Successfully changed the users password and sent them an email.' which is obvious, or you may also see an error message. This typically means that you�ll need to setup an SMTP server.)
- Plugin Name: Please specify the plugin name on the first line (
=== flaming-password-reset ===
)
flaming-password-reset/flaming_password_reset.php 92% from 13 tests
"Flaming Password Reset" version 1.0.3'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: Name the main plugin file the same as the plugin slug ("flaming-password-reset.php" instead of "flaming_password_reset.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin513 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 101 | 203 | 394 |
CSS | 1 | 20 | 0 | 92 |
JavaScript | 1 | 5 | 18 | 26 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview 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.31 |
Average class complexity | 9.67 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 2 | 10.53% |
▷ Public methods | 17 | 89.47% |
▷ Protected methods | 2 | 10.53% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
There were not PNG files found in your plugin