Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/wp-sidebar-login/wp-sidebar-login.php+220
Methods with the same name as their class will not be constructors in a future version of PHP; SidebarLoginMultiWidget has a deprecated constructor
Server metrics [RAM: ▼1.40MB] [CPU: ▼47.71ms] Passed 4 tests
This is a short check of server-side resources used by WP Sidebar Login
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.56 ▼0.90 | 9.28 ▼30.15 |
Dashboard /wp-admin | 2.61 ▼0.69 | 12.84 ▼35.06 |
Posts /wp-admin/edit.php | 2.61 ▼0.74 | 13.58 ▼39.01 |
Add New Post /wp-admin/post-new.php | 2.61 ▼3.27 | 14.04 ▼86.61 |
Media Library /wp-admin/upload.php | 2.61 ▼0.61 | 14.45 ▼18.72 |
WP Sidebar Login /wp-admin/options-general.php?page=wp-sidebar-login | 2.61 | 13.13 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 14 new options
New WordPress options |
---|
sidebarlogin_heading |
sidebarlogin_forgotton_link |
sidebarlogin_logout_redirect |
widget_theysaidso_widget |
sidebarlogin_register_link |
theysaidso_admin_options |
can_compress_scripts |
sidebarlogin_logged_in_links |
widget_recent-comments |
sidebarlogin_login_redirect |
... |
Browser metrics Passed 4 tests
A check of browser resources used by WP Sidebar Login
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲178 | 13.64 ▼0.90 | 5.60 ▲3.88 | 40.44 ▼5.79 |
Dashboard /wp-admin | 2,223 ▲32 | 4.88 ▼1.00 | 103.25 ▲4.62 | 40.21 ▼3.66 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.05 ▼0.00 | 35.68 ▼8.90 | 36.39 ▲0.40 |
Add New Post /wp-admin/post-new.php | 1,535 ▲21 | 18.58 ▲0.79 | 613.09 ▲4.51 | 61.41 ▲5.94 |
Media Library /wp-admin/upload.php | 1,396 ▲14 | 4.25 ▲0.05 | 96.35 ▼0.60 | 42.14 ▲0.73 |
WP Sidebar Login /wp-admin/options-general.php?page=wp-sidebar-login | 924 | 1.91 | 26.58 | 29.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
The following items require your attention
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5453
Function force_ssl_login is deprecated since version 4.4.0! Use force_ssl_admin() instead.
- Zombie WordPress options were found after uninstall: 14 options
- sidebarlogin_logged_in_links
- sidebarlogin_logout_redirect
- sidebarlogin_forgotton_link
- sidebar_login_avatar
- db_upgraded
- sidebarlogin_login_redirect
- can_compress_scripts
- sidebarlogin_heading
- widget_recent-comments
- sidebarlogin_register_link
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=wp-sidebar-login
- > User deprecated in wp-includes/functions.php+5453
Function force_ssl_login is deprecated since version 4.4.0! Use force_ssl_admin() instead.
- > GET request to /wp-admin/options-general.php?page=wp-sidebar-login
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in SidebarLoginMultiWidget is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/options-general.php?page=wp-sidebar-login
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=wp-sidebar-login
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-sidebar-login/admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/wp-sidebar-login/wp-sidebar-login.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% 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
Attributes that need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
wp-sidebar-login/wp-sidebar-login.php Passed 13 tests
The entry point to "WP Sidebar Login" version 2.14 is a PHP file that has certain tags in its header comment area
93 characters long description:
This plugin used to easily add an ajax enabled wordpress login widget to your site's sidebar.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin848 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 105 | 102 | 462 |
PHP | 2 | 112 | 63 | 330 |
CSS | 1 | 1 | 2 | 56 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
PNG images were not found in this plugin