Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.77MB] [CPU: ▲0.32ms] Passed 4 tests
An overview of server-side resources used by Login/Signup Popup ( Inline Form + Woocommerce )
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.30 ▲0.84 | 42.01 ▲2.22 |
Dashboard /wp-admin | 4.08 ▲0.74 | 47.82 ▼13.31 |
Posts /wp-admin/edit.php | 4.13 ▲0.78 | 52.76 ▲8.09 |
Add New Post /wp-admin/post-new.php | 6.66 ▲0.77 | 113.10 ▲12.34 |
Media Library /wp-admin/upload.php | 4.00 ▲0.77 | 42.05 ▲4.26 |
Fields /wp-admin/admin.php?page=xoo-el-fields | 4.55 | 43.62 |
Settings /wp-admin/admin.php?page=easy-login-woocommerce-settings | 4.07 | 42.79 |
Server storage [IO: ▲3.75MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 113 new files
Database: no new tables, 15 new options
New WordPress options |
---|
xoo-el-gl-options |
theysaidso_admin_options |
xoo_aff_easy_login_woocommerce_fields |
xoo-aff-easy-login-woocommerce-general-options |
xoo-el-sec-options |
can_compress_scripts |
widget_recent-comments |
xoo-el-version |
xoo_easy-login-woocommerce_theme_templates_data |
db_upgraded |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Login/Signup Popup ( Inline Form + Woocommerce )
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,989 ▲243 | 14.79 ▲0.39 | 18.39 ▲16.50 | 35.36 ▼9.51 |
Dashboard /wp-admin | 2,233 ▲48 | 5.85 ▼0.03 | 105.84 ▲7.92 | 47.24 ▲3.42 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 2.00 ▼0.02 | 38.40 ▲3.40 | 35.38 ▼1.09 |
Add New Post /wp-admin/post-new.php | 1,567 ▲31 | 18.60 ▼4.62 | 603.91 ▼11.51 | 55.76 ▲7.67 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.19 ▼0.04 | 93.72 ▼12.89 | 41.77 ▼5.50 |
Fields /wp-admin/admin.php?page=xoo-el-fields | 1,657 | 4.14 | 76.09 | 48.32 |
Settings /wp-admin/admin.php?page=easy-login-woocommerce-settings | 2,781 | 5.21 | 117.27 | 34.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 15 options in the database
- xoo_easy-login-woocommerce_theme_templates_data
- xoo-el-gl-options
- xoo-el-av-options
- xoo_aff_easy_login_woocommerce_fields
- xoo-el-sy-options
- widget_theysaidso_widget
- widget_recent-comments
- xoo-el-version
- xoo-aff-easy-login-woocommerce-general-options
- 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
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following
- 6× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/easy-login-woocommerce/xoo-form-fields-fw/admin/templates/scripts/notice.php
- > /wp-content/plugins/easy-login-woocommerce/xoo-form-fields-fw/admin/templates/xoo-aff-template-scripts.php
- > /wp-content/plugins/easy-login-woocommerce/xoo-form-fields-fw/admin/templates/scripts/field-settings-container.php
- > /wp-content/plugins/easy-login-woocommerce/includes/xoo-framework/admin/templates/global/setting-upload.php
- > /wp-content/plugins/easy-login-woocommerce/xoo-form-fields-fw/admin/templates/scripts/field-settings.php
- > /wp-content/plugins/easy-login-woocommerce/xoo-form-fields-fw/admin/templates/scripts/field-display.php
- 77× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/easy-login-woocommerce/xoo-form-fields-fw/includes/templates/xoo-aff-inline-style.php on line 12
- > PHP Notice
Undefined variable: sy_options in wp-content/plugins/easy-login-woocommerce/xoo-form-fields-fw/includes/templates/xoo-aff-inline-style.php on line 9
- > PHP Notice
Undefined variable: sy_options in wp-content/plugins/easy-login-woocommerce/xoo-form-fields-fw/includes/templates/xoo-aff-inline-style.php on line 11
- > PHP Warning
Use of undefined constant XOO_AFF_DIR - assumed 'XOO_AFF_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-login-woocommerce/xoo-form-fields-fw/admin/templates/xoo-aff-template-scripts.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/easy-login-woocommerce/admin/views/settings/advanced.php:20
- > PHP Fatal error
Uncaught Error: Class 'Xoo_Helper' not found in wp-content/plugins/easy-login-woocommerce/includes/class-xoo-el-helper.php:3
- > PHP Warning
include(): Failed opening 'XOO_AFF_DIR/countries/countries.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/easy-login-woocommerce/xoo-form-fields-fw/admin/templates/scripts/field-settings.php on line 3
- > PHP Warning
include(): Failed opening 'XOO_AFF_DIR/admin/templates/scripts//notice.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/easy-login-woocommerce/xoo-form-fields-fw/admin/templates/xoo-aff-template-scripts.php on line 26
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/easy-login-woocommerce/xoo-form-fields-fw/includes/templates/xoo-aff-inline-style.php on line 8
- > PHP Notice
Undefined variable: sy_options in wp-content/plugins/easy-login-woocommerce/xoo-form-fields-fw/includes/templates/xoo-aff-inline-style.php on line 6
- > PHP Notice
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 errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: social login, login customizer, registration, popup, custom registration fields
easy-login-woocommerce/xoo-el-main.php 92% from 13 tests
The primary PHP file in "Login/Signup Popup ( Inline Form + Woocommerce )" version 2.5 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("easy-login-woocommerce.php" instead of "xoo-el-main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin26,863 lines of code in 93 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 0 | 9,573 |
PHP | 64 | 2,197 | 546 | 8,784 |
JavaScript | 11 | 557 | 230 | 5,239 |
CSS | 13 | 325 | 101 | 3,252 |
XML | 1 | 4 | 0 | 15 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 39.59 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 217.00 |
Average method complexity | 4.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 61.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 198 | |
▷ Static methods | 22 | 11.11% |
▷ Public methods | 190 | 95.96% |
▷ Protected methods | 4 | 2.02% |
▷ Private methods | 4 | 2.02% |
Functions | 31 | |
▷ Named functions | 26 | 83.87% |
▷ Anonymous functions | 5 | 16.13% |
Constants | 14 | |
▷ Global constants | 14 | 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
1 PNG file occupies 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
xoo-form-fields-fw/countries/flags32.png | 87.02KB | 51.06KB | ▼ 41.32% |