Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.27MB] [CPU: ▲0.47ms] Passed 4 tests
Server-side resources used by WooCommerce Manager - Customize and Control Cart page, Add to Cart button, Checkout fields easily
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 45.29 ▲5.51 |
Dashboard /wp-admin | 3.57 ▲0.27 | 44.66 ▼6.05 |
Posts /wp-admin/edit.php | 3.68 ▲0.33 | 47.50 ▼1.22 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.28 | 95.90 ▲3.65 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 39.68 ▲7.55 |
Increase Variation /wp-admin/admin.php?page=slug_increase_product_variation | 3.46 | 31.45 |
Single Product /wp-admin/admin.php?page=slug_single_product | 3.49 | 36.85 |
Product title price /wp-admin/admin.php?page=slug_product_title_price | 3.48 | 34.77 |
Checkout Fileds /wp-admin/admin.php?page=slug_checkout_field | 3.51 | 30.77 |
Woo Manager /wp-admin/admin.php?page=parent_menu_slug | 3.52 | 39.19 |
/wp-admin/admin.php?page=slug_checkout_shipping_field | 3.51 | 33.74 |
Server storage [IO: ▲4.06MB] [DB: ▲0.32MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 80 new files
Database: 3 new tables, 16 new options
New tables |
---|
wp_woo_manage_checkout_field |
wp_woo_manage_checkout_shipping_field |
wp_woo_manage_checkout_order_note |
New WordPress options |
---|
woo_estimate_notice |
grouped_button_text |
simple_button_text |
theysaidso_admin_options |
variable_button_text |
widget_recent-posts |
woo_pro_notice |
subs_button_text |
can_compress_scripts |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce Manager - Customize and Control Cart page, Add to Cart button, Checkout fields easily
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,996 ▲225 | 14.37 ▼0.00 | 5.16 ▲2.96 | 27.56 ▼15.50 |
Dashboard /wp-admin | 2,298 ▲121 | 5.66 ▼0.24 | 117.77 ▲6.63 | 95.46 ▲38.25 |
Posts /wp-admin/edit.php | 2,206 ▲114 | 2.58 ▲0.60 | 48.77 ▲12.73 | 65.17 ▲33.03 |
Add New Post /wp-admin/post-new.php | 1,593 ▲51 | 23.86 ▲0.95 | 759.32 ▲94.41 | 33.36 ▼21.77 |
Media Library /wp-admin/upload.php | 1,486 ▲104 | 4.93 ▲0.72 | 104.14 ▲5.66 | 68.36 ▲26.59 |
Increase Variation /wp-admin/admin.php?page=slug_increase_product_variation | 959 | 2.21 | 32.90 | 36.04 |
Single Product /wp-admin/admin.php?page=slug_single_product | 2,052 | 3.25 | 76.02 | 31.87 |
Product title price /wp-admin/admin.php?page=slug_product_title_price | 1,889 | 3.07 | 67.92 | 33.45 |
Checkout Fileds /wp-admin/admin.php?page=slug_checkout_field | 2,619 | 2.47 | 42.39 | 54.36 |
Woo Manager /wp-admin/admin.php?page=parent_menu_slug | 3,129 | 3.45 | 105.11 | 31.02 |
/wp-admin/admin.php?page=slug_checkout_shipping_field | 2,356 | 2.46 | 37.44 | 37.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.31MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 16 options
- db_upgraded
- subs_button_text
- increase_variable_pro
- widget_recent-posts
- woo_estimate_notice
- variable_button_text
- widget_theysaidso_widget
- external_button_text
- grouped_button_text
- widget_recent-comments
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/innovs-woo-manager/public/partials/innovs-woo-manager-public-display.php
- > /wp-content/plugins/innovs-woo-manager/admin/partials/innovs-woo-manager-admin-display.php
- 13× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/innovs-woo-manager/admin/partials/innovs-woo-add-cart-page-text.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/innovs-woo-manager/admin/partials/innovs-woo-product-title-price.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/innovs-woo-manager/admin/partials/innovs-woo-checkout-shipping-fields.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/innovs-woo-manager/includes/class-innovs-woo-manager-checkout-field.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/innovs-woo-manager/includes/innovs-woo-css.php:89
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/innovs-woo-manager/includes/class-innovs-woo-manager.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/innovs-woo-manager/admin/partials/innovs-woo-increase-product-variation.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/innovs-woo-manager/admin/partials/innovs-woo-checkout-order-fields.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/innovs-woo-manager/admin/partials/innovs-woo-checkout-fields.php:9
- > PHP Notice
Undefined variable: page in wp-content/plugins/innovs-woo-manager/admin/partials/innovs-woo-checkout-order-fields.php on line 8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4 in innovs-woo-manager/assets to your readme.txt
innovs-woo-manager/innovs-woo-manager.php 85% from 13 tests
"WooCommerce Manager - Customize and Control Cart page, Add to Cart button, Checkout fields easily" version 1.2.4.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/language")
- Description: The description should be shorter than 140 characters (currently 164 characters long)
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
Good job! No executable or dangerous file extensions detected9,382 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 16 | 6,599 |
PHP | 23 | 620 | 838 | 2,328 |
CSS | 4 | 62 | 22 | 293 |
JavaScript | 4 | 75 | 131 | 162 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 4.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 55 | |
▷ Static methods | 7 | 12.73% |
▷ Public methods | 48 | 87.27% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 12.73% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/icon-2.png | 2.35KB | 0.87KB | ▼ 62.99% |
img/theinnovs.png | 50.31KB | 14.92KB | ▼ 70.35% |
img/woo-logo.png | 7.45KB | 2.40KB | ▼ 67.83% |