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
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.16ms] Passed 4 tests
Server-side resources used by Woocommerce Login / Signup Lite
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.75 ▲1.92 |
Dashboard /wp-admin | 3.31 ▼0.04 | 46.67 ▼15.77 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.23 ▼2.24 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.75 ▼24.55 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.96 ▲5.12 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Woocommerce Login / Signup Lite
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.62 ▼0.67 | 1.73 ▼0.00 | 39.27 ▲0.95 |
Dashboard /wp-admin | 2,206 ▲18 | 4.86 ▼1.19 | 103.71 ▼13.25 | 38.46 ▼24.02 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.02 | 36.02 ▲0.94 | 32.52 ▼5.54 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.35 ▲0.10 | 653.79 ▼35.18 | 61.75 ▲8.69 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.25 ▲0.08 | 93.66 ▼20.02 | 40.85 ▼5.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/woocommerce-login-and-registration/admin/partials/phoen_login_signup_premium_version.php
- > /wp-content/plugins/woocommerce-login-and-registration/admin/partials/phoen_login_signup-admin-display.php
- > /wp-content/plugins/woocommerce-login-and-registration/public/partials/phoen_login_signup-public-display.php
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woocommerce-login-and-registration/public/phoen-login-signup-form/shortcode/lsphe-login-form.php:117
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woocommerce-login-and-registration/admin/partials/phoen_registration.php:48
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/woocommerce-login-and-registration/admin/partials/phoen_login_signup_general_setting.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woocommerce-login-and-registration/public/phoen-login-signup-form/shortcode/lsphe-signup-form.php:104
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woocommerce-login-and-registration/admin/partials/phoen_login.php:48
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woocommerce-login-and-registration/admin/partials/phoen_styling_popup.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woocommerce-login-and-registration/public/phoen-login-signup-form/phoen_login_signup_auto_load.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/woocommerce-login-and-registration/admin/partials/phoen_login_signup_shortcode.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/woocommerce-login-and-registration/public/phoen-login-signup-form/shortcode/lsphe-header.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 24 tag instead of maximum 10
woocommerce-login-and-registration/phoen_login_signup.php 85% from 13 tests
The main file in "Woocommerce Login / Signup Lite" v. 4.0 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 ("woocommerce-login-and-registration.php" instead of "phoen_login_signup.php")
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected2,892 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 946 | 559 | 1,729 |
JavaScript | 4 | 235 | 132 | 907 |
CSS | 3 | 32 | 28 | 256 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 11.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 2.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.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 | 4 | 8.51% |
▷ Public methods | 35 | 74.47% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 25.53% |
Functions | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
image/logo-wp.png | 1.20KB | 0.57KB | ▼ 52.72% |
image/cross.png | 0.36KB | 0.22KB | ▼ 37.77% |