Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.99ms] Passed 4 tests
An overview of server-side resources used by WP Front-end login and register
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.58 ▲2.37 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.01 ▼0.71 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 44.04 ▼2.50 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 80.13 ▼11.12 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.76 ▲3.19 |
Server storage [IO: ▲0.64MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 42 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-comments |
wpmp_display_settings |
widget_theysaidso_widget |
widget_recent-posts |
wpmp_email_settings |
wpmp_form_settings |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
wpmp_redirect_settings |
Browser metrics Passed 4 tests
Checking browser requirements for WP Front-end login and register
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,929 ▲168 | 13.78 ▼0.60 | 14.19 ▲12.61 | 52.89 ▲14.32 |
Dashboard /wp-admin | 2,213 ▲32 | 5.57 ▼0.14 | 97.06 ▼4.90 | 41.68 ▼1.49 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 1.98 ▼0.05 | 35.55 ▼2.93 | 32.79 ▼4.25 |
Add New Post /wp-admin/post-new.php | 1,541 ▲2 | 23.20 ▲0.09 | 691.13 ▼7.54 | 55.00 ▲2.17 |
Media Library /wp-admin/upload.php | 1,418 ▲18 | 4.24 ▲0.07 | 92.85 ▼10.37 | 43.12 ▼4.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-front-end-login-and-register/admin/partials/settings/wpmp-shortcodes-settings.php
- 9× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-front-end-login-and-register/public/partials/wpmp-resetpassword-form.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-front-end-login-and-register/public/partials/wpmp-register-form.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function site_url() in wp-content/plugins/wp-front-end-login-and-register/public/partials/wpmp-profile.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-front-end-login-and-register/admin/partials/settings/wpmp-redirect-settings.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-front-end-login-and-register/admin/partials/settings/wpmp-form-settings.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-front-end-login-and-register/public/partials/wpmp-login-form.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-front-end-login-and-register/admin/partials/settings/wpmp-display-settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-front-end-login-and-register/admin/partials/wpmp-admin-display.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-front-end-login-and-register/admin/partials/settings/wpmp-email-settings.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-front-end-login-and-register/wp-mp-register-login.php 92% from 13 tests
The primary PHP file in "WP Front-end login and register" version 2.1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-front-end-login-and-register.php" instead of "wp-mp-register-login.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin2,216 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 363 | 661 | 1,510 |
JavaScript | 5 | 46 | 59 | 375 |
SVG | 1 | 0 | 0 | 288 |
CSS | 4 | 7 | 12 | 43 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 10.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 47 | |
▷ Static methods | 3 | 6.38% |
▷ Public methods | 42 | 89.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 10.64% |
Functions | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin