Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.38ms] Passed 4 tests
This is a short check of server-side resources used by Forgot Username - ajax
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 42.04 ▲3.79 |
Dashboard /wp-admin | 3.36 ▲0.01 | 46.98 ▼15.03 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 51.43 ▼4.52 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 95.32 ▼9.77 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 47.32 ▲12.63 |
Forgot Username /wp-admin/options-general.php?page=fu-menu-options | 3.25 | 33.13 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
These are issues you should consider
- The plugin illegally modified 1 file (4.00KB) outside of "wp-content/plugins/forget-username-ajax/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 7 new files
Database: no new tables, 14 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
fu_mail_success |
fu_mail_subject |
fu_mail_footer |
widget_recent-posts |
fu_mail_header |
fu_mail_email_not_exist |
db_upgraded |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Forgot Username - ajax
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲54 | 13.26 ▼1.30 | 2.60 ▲0.81 | 39.94 ▼5.95 |
Dashboard /wp-admin | 2,227 ▲30 | 4.85 ▼1.01 | 107.35 ▼0.29 | 40.67 ▼1.95 |
Posts /wp-admin/edit.php | 2,106 ▲3 | 2.05 ▲0.06 | 41.19 ▲0.61 | 34.85 ▼2.87 |
Add New Post /wp-admin/post-new.php | 1,685 ▲153 | 22.39 ▼0.86 | 639.01 ▲23.71 | 51.68 ▼1.66 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.18 ▼0.09 | 96.35 ▼7.96 | 43.35 ▼3.04 |
Forgot Username /wp-admin/options-general.php?page=fu-menu-options | 910 | 2.02 | 22.43 | 31.67 |
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
- This plugin does not fully uninstall, leaving 14 options in the database
- fu_mail_header
- fu_mail_body_lbl
- fu_mail_success
- fu_mail_footer
- widget_recent-posts
- widget_theysaidso_widget
- fu_submit_val
- theysaidso_admin_options
- fu_mail_error
- fu_mail_email_not_exist
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/forget-username-ajax/forget-username.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
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
5 plugin tags: forgot username form, forgot username, plugin, widget, forgot username - ajax
forget-username-ajax/forget-username.php 92% from 13 tests
The main file in "Forgot Username - ajax" v. 1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("forget-username-ajax.php" instead of "forget-username.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin204 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 32 | 9 | 195 |
CSS | 2 | 0 | 0 | 8 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 1.55KB | 0.93KB | ▼ 39.92% |
screenshot-1.png | 35.14KB | 16.97KB | ▼ 51.70% |