Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.21MB] [CPU: ▼4.89ms] Passed 4 tests
A check of server-side resources used by WP Login Register Flow
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 46.34 ▲4.74 |
Dashboard /wp-admin | 3.51 ▲0.16 | 53.18 ▼12.14 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 51.27 ▲2.87 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 87.69 ▼9.42 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 38.22 ▼0.88 |
WP Login Register /wp-admin/admin.php?page=wplrf_settings_page | 3.37 | 32.73 |
Manage Users /wp-admin/admin.php?page=wplrf_users_settings_page | 3.40 | 34.70 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WP Login Register Flow
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,048 ▲287 | 13.55 ▼1.04 | 10.51 ▲8.63 | 47.04 ▲4.05 |
Dashboard /wp-admin | 2,229 ▲52 | 5.60 ▼0.05 | 97.63 ▲5.12 | 42.16 ▼0.12 |
Posts /wp-admin/edit.php | 2,134 ▲31 | 2.00 ▼0.03 | 35.63 ▼3.21 | 34.93 ▼0.03 |
Add New Post /wp-admin/post-new.php | 1,552 ▲24 | 23.05 ▲0.19 | 664.33 ▼10.85 | 62.98 ▲7.41 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.19 ▼0.03 | 95.62 ▼17.33 | 41.44 ▼7.70 |
WP Login Register /wp-admin/admin.php?page=wplrf_settings_page | 1,066 | 2.05 | 24.58 | 29.35 |
Manage Users /wp-admin/admin.php?page=wplrf_users_settings_page | 949 | 2.16 | 25.65 | 25.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=wplrf_settings_page
- > Notice in wp-content/plugins/wp-login-register-flow/admin/class-wp-login-register-flow-admin-setting.php+29
Undefined variable: allow_reg_value
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
The following issues need your attention
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-login-register-flow/public/partials/wp-login-register-flow-public-display.php
- > /wp-content/plugins/wp-login-register-flow/admin/partials/wp-login-register-flow-admin-display.php
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-login-register-flow/includes/wp-login-register-flow-ajax-functions.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-login-register-flow/includes/wp-login-register-flow-shortcodes.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/wp-login-register-flow/public/partials/wplrf-html.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-login-register-flow/admin/class-wp-login-register-flow-admin-setting.php:7
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: ajax based login register, reset password, wordpress login, simple login register, account...
wp-login-register-flow/wp-login-register-flow.php Passed 13 tests
The main file in "WP Login Register Flow" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
85 characters long description:
Simple Wordpress login,registration and change/reset password flow for frontend user.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin2,397 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 273 | 854 | 1,445 |
CSS | 3 | 30 | 17 | 550 |
JavaScript | 3 | 63 | 69 | 402 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of 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.25 |
Average class complexity | 6.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 2 | 4.65% |
▷ Public methods | 35 | 81.40% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 18.60% |
Functions | 13 | |
▷ Named functions | 12 | 92.31% |
▷ Anonymous functions | 1 | 7.69% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/partials/images/wplrf-account-icon.png | 7.25KB | 2.79KB | ▼ 61.48% |