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 gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.30ms] Passed 4 tests
An overview of server-side resources used by Extra Product Options Lite for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.10 ▼4.91 |
Dashboard /wp-admin | 3.31 ▼0.04 | 56.26 ▼15.84 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.18 ▼4.98 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.20 ▼11.47 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.83 ▼2.58 |
Import Rules /wp-admin/edit.php?post_type=po_product_options&page=plgfy_i_rules | 3.00 | 25.09 |
Export Rules /wp-admin/edit.php?post_type=po_product_options&page=plgfy_e_rules | 3.00 | 22.07 |
Product Options /wp-admin/edit.php?post_type=po_product_options | 3.04 | 27.62 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
already_impoted_rules_plugify_extra |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Extra Product Options Lite for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,444 ▼1,317 | 12.42 ▼1.96 | 2.07 ▲0.02 | 43.70 ▼7.10 |
Dashboard /wp-admin | 2,183 ▲3 | 5.55 ▼0.14 | 94.42 ▼17.31 | 56.18 ▲8.03 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.06 ▲0.05 | 44.54 ▲9.26 | 35.20 ▼1.20 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 22.83 ▼0.10 | 634.04 ▲10.45 | 34.02 ▼21.48 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.22 ▲0.01 | 98.37 ▲0.28 | 44.60 ▲0.05 |
Import Rules /wp-admin/edit.php?post_type=po_product_options&page=plgfy_i_rules | 28 | 0.44 | 0.13 | 4.32 |
Export Rules /wp-admin/edit.php?post_type=po_product_options&page=plgfy_e_rules | 28 | 0.44 | 0.09 | 4.01 |
Product Options /wp-admin/edit.php?post_type=po_product_options | 28 | 0.44 | 0.07 | 4.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- already_impoted_rules_plugify_extra
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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× PHP files output text when accessed directly:
- > /wp-content/plugins/extra-product-options-lite-for-woocommerce/Admin/Supporting_Files/woosppo_create_text_fields_in_meta_box.php
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/extra-product-options-lite-for-woocommerce/Admin/Supporting_Files/woosppo_applied_on_procat.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/extra-product-options-lite-for-woocommerce/Admin/woosppo_main_admin.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function wc_get_product() in wp-content/plugins/extra-product-options-lite-for-woocommerce/Front/all_fields_woosppo.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/extra-product-options-lite-for-woocommerce/Admin/Supporting_Files/plgfyexpo_general_settings_tab_html.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/extra-product-options-lite-for-woocommerce/Admin/Supporting_Files/plugify_customization.php:99
- > PHP Notice
Undefined variable: woosppo_post_id in wp-content/plugins/extra-product-options-lite-for-woocommerce/Admin/Supporting_Files/plugify_customization.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/extra-product-options-lite-for-woocommerce/Front/woosppo_main_front.php:6
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/edit.php?post_type=po_product_options&page=plgfy_i_rules
- > Network (severe)
wp-admin/edit.php?post_type=po_product_options&page=plgfy_i_rules - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/edit.php?post_type=po_product_options&page=plgfy_e_rules
- > Network (severe)
wp-admin/edit.php?post_type=po_product_options&page=plgfy_e_rules - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/edit.php?post_type=po_product_options
- > Network (severe)
wp-admin/edit.php?post_type=po_product_options - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5, #6, #7 in extra-product-options-lite-for-woocommerce/assets to your readme.txt
extra-product-options-lite-for-woocommerce/extra-product-options-lite-for-woocommerce.php Passed 13 tests
The primary PHP file in "Extra Product Options Lite for WooCommerce" version 1.0.0 is used by WordPress to initiate all plugin functionality
106 characters long description:
Create multiple product options using 11 types of fields to sell customized products on your online store.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected6,895 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 927 | 33 | 3,871 |
JavaScript | 4 | 434 | 166 | 1,577 |
CSS | 6 | 84 | 57 | 1,447 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 59.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 115.00 |
Average method complexity | 7.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 79.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Admin/6 (2).png | 46.58KB | 20.65KB | ▼ 55.66% |