Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.18MB] [CPU: ▼2.10ms] Passed 4 tests
An overview of server-side resources used by EPOW - Custom Product Options for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 35.65 ▼4.62 |
Dashboard /wp-admin | 3.48 ▲0.18 | 52.96 ▲4.92 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 51.12 ▲4.86 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 85.11 ▼9.34 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 35.34 ▲0.69 |
Server storage [IO: ▲7.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 99 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
EPOW - Custom Product Options for WooCommerce: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.36 ▲0.04 | 1.65 ▼0.07 | 39.71 ▲0.83 |
Dashboard /wp-admin | 2,206 ▲34 | 5.64 ▼0.15 | 84.58 ▼18.28 | 39.58 ▼7.89 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 1.98 ▼0.02 | 40.06 ▲5.26 | 37.78 ▼2.60 |
Add New Post /wp-admin/post-new.php | 1,543 ▲12 | 18.31 ▼4.58 | 610.80 ▼41.44 | 67.90 ▲12.03 |
Media Library /wp-admin/upload.php | 1,402 ▼1 | 4.20 ▲0.00 | 95.83 ▼2.27 | 43.66 ▼0.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/epow-custom-product-options-for-woocommerce/templates/fields/select.php
- 11× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/epow-custom-product-options-for-woocommerce/templates/fields/number.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/epow-custom-product-options-for-woocommerce/templates/fields/url.php:7
- > PHP Notice
Undefined variable: field_attributes in wp-content/plugins/epow-custom-product-options-for-woocommerce/templates/fields/select.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/epow-custom-product-options-for-woocommerce/templates/final-total-box.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/epow-custom-product-options-for-woocommerce/templates/fields/checkbox.php:11
- > PHP Notice
Undefined variable: field_attributes in wp-content/plugins/epow-custom-product-options-for-woocommerce/templates/fields/textarea.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/epow-custom-product-options-for-woocommerce/templates/fields/tel.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/epow-custom-product-options-for-woocommerce/templates/fields/radio.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/epow-custom-product-options-for-woocommerce/templates/fields/textarea.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/epow-custom-product-options-for-woocommerce/templates/fields/text.php:7
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: woocommerce, wordpress, option, extra option, product option
epow-custom-product-options-for-woocommerce/epow-custom-product-options-for-woocommerce.php 92% from 13 tests
The primary PHP file in "EPOW - Custom Product Options for WooCommerce" version 1.0.3 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 204 characters long)
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
Good job! No executable or dangerous file extensions detected127,049 lines of code in 82 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 25 | 13,674 | 13,428 | 121,319 |
PHP | 25 | 644 | 299 | 3,589 |
SVG | 1 | 0 | 4 | 1,514 |
CSS | 28 | 43 | 151 | 408 |
Sass | 3 | 49 | 1 | 219 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.64 |
Average class complexity | 55.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 177.00 |
Average method complexity | 7.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 113 | |
▷ Static methods | 29 | 25.66% |
▷ Public methods | 101 | 89.38% |
▷ Protected methods | 7 | 6.19% |
▷ Private methods | 5 | 4.42% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin