Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.27MB] [CPU: ▼3.46ms] Passed 4 tests
A check of server-side resources used by Login Widget With Shortcode
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.31 | 41.89 ▲1.72 |
Dashboard /wp-admin | 3.61 ▲0.27 | 52.85 ▼6.71 |
Posts /wp-admin/edit.php | 3.66 ▲0.31 | 47.46 ▲3.09 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 84.84 ▼11.93 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 36.15 ▲5.31 |
Login Widget Settings /wp-admin/admin.php?page=login_widget_ap | 3.56 | 46.64 |
Login Logs /wp-admin/admin.php?page=login_log_ap | 3.41 | 32.66 |
Server storage [IO: ▲0.91MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 97 new files
Database: 1 new table, 11 new options
New tables |
---|
wp_login_log |
New WordPress options |
---|
theysaidso_admin_options |
new_password_mail_subject |
widget_recent-comments |
widget_login_wid |
widget_theysaidso_widget |
forgot_password_link_mail_subject |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
forgot_password_link_mail_body |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Login Widget With Shortcode
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,944 ▲198 | 13.73 ▼0.85 | 7.01 ▲5.15 | 41.38 ▼2.77 |
Dashboard /wp-admin | 2,239 ▲57 | 4.91 ▲0.04 | 113.44 ▼6.69 | 42.77 ▼2.00 |
Posts /wp-admin/edit.php | 2,122 ▲30 | 2.04 ▲0.00 | 36.58 ▲0.31 | 31.75 ▼6.25 |
Add New Post /wp-admin/post-new.php | 1,542 ▲20 | 17.49 ▼5.56 | 644.04 ▼1.10 | 28.43 ▼27.69 |
Media Library /wp-admin/upload.php | 1,424 ▲33 | 4.24 ▼0.06 | 96.63 ▼4.77 | 43.04 ▲0.35 |
Login Widget Settings /wp-admin/admin.php?page=login_widget_ap | 1,823 | 2.11 | 27.25 | 34.27 |
Login Logs /wp-admin/admin.php?page=login_log_ap | 937 | 2.08 | 28.18 | 25.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_login_log
- Zombie WordPress options were found after uninstall: 11 options
- new_password_mail_subject
- widget_recent-posts
- forgot_password_link_mail_body
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_login_wid
- widget_theysaidso_widget
- theysaidso_admin_options
- new_password_mail_body
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=login_log_ap
- > Notice in wp-content/plugins/login-sidebar-widget/includes/class-login-log.php+19
Undefined index: paged
- > GET request to /wp-admin/admin.php?page=login_log_ap
- > Notice in wp-content/plugins/login-sidebar-widget/view/admin/login-log.php+31
Undefined variable: cnt
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
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/login-sidebar-widget/view/admin/social-login-add.php
- > /wp-content/plugins/login-sidebar-widget/view/admin/register-pro-add.php
- > /wp-content/plugins/login-sidebar-widget/view/admin/login-pro-add.php
- > /wp-content/plugins/login-sidebar-widget/captcha/captcha.php
- 19× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/login-sidebar-widget/view/frontend/forgot-password.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/login-sidebar-widget/view/admin/login-log.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/login-sidebar-widget/view/admin/settings.php:1
- > PHP Notice
Undefined variable: link_with_username in wp-content/plugins/login-sidebar-widget/view/frontend/after-login.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function is_plugin_active() in wp-content/plugins/login-sidebar-widget/login.php:29
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/login-sidebar-widget/login.php on line 28
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/login-sidebar-widget/view/admin/captcha.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/login-sidebar-widget/view/admin/recaptcha.php:2
- > PHP Notice
Undefined variable: wid_id in wp-content/plugins/login-sidebar-widget/view/frontend/login.php on line 4
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/login-sidebar-widget/view/frontend/recaptcha.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 21 tag instead of maximum 10
login-sidebar-widget/login.php 92% from 13 tests
The principal PHP file in "Login Widget With Shortcode" v. 6.1.1 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("login-sidebar-widget.php" instead of "login.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin3,267 lines of code in 62 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 35 | 305 | 258 | 1,804 |
JavaScript | 4 | 130 | 394 | 657 |
PO File | 20 | 221 | 72 | 606 |
CSS | 2 | 9 | 5 | 176 |
XML | 1 | 0 | 0 | 24 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 71 | |
▷ Static methods | 15 | 21.13% |
▷ Public methods | 66 | 92.96% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 7.04% |
Functions | 25 | |
▷ Named functions | 24 | 96.00% |
▷ Anonymous functions | 1 | 4.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
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/rss.png | 0.60KB | 0.50KB | ▼ 16.18% |
images/paypal.png | 0.77KB | 0.80KB | 0.00% |
images/close.png | 0.42KB | 0.29KB | ▼ 30.28% |