Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.54MB] [CPU: ▲1.06ms] 75% from 4 tests
This is a short check of server-side resources used by WC Builder - WooCommerce Page Builder for WPBakery
Please take the time to fix the following items
- CPU: The total CPU usage must kept under 500.00ms (currently 1,853.66ms on /wp-admin/admin.php?page=wpbforwpbakery_extensions)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.31 | 41.45 ▼2.38 |
Dashboard /wp-admin | 3.98 ▲0.64 | 69.23 ▲1.13 |
Posts /wp-admin/edit.php | 4.03 ▲0.68 | 66.82 ▲17.09 |
Add New Post /wp-admin/post-new.php | 6.49 ▲0.61 | 97.27 ▼0.51 |
Media Library /wp-admin/upload.php | 3.82 ▲0.59 | 44.62 ▲5.98 |
WC Page Builder Options /wp-admin/admin.php?page=wpbforwpbakery_options | 3.82 | 48.37 |
Recommendations /wp-admin/admin.php?page=wpbforwpbakery_extensions | 8.29 | 1,853.66 |
All Templates /wp-admin/edit.php?post_type=wpbfwpb_template | 3.95 | 48.25 |
Server storage [IO: ▲0.51MB] [DB: ▲0.69MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 66 new files
Database: no new tables, 12 new options
New WordPress options |
---|
wpbforwpbakery_rename_label_tabs |
db_upgraded |
wpbforwpbakery_buy_pro_tabs |
theysaidso_admin_options |
can_compress_scripts |
wpbforwpbakery_general_tabs |
wpbforwpbakery_woo_template_tabs |
wpbforwpbakery_elements_tabs |
wpbforwpbakery_other_tabs |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
Checking browser requirements for WC Builder - WooCommerce Page Builder for WPBakery
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,035 ▲289 | 14.84 ▲0.18 | 2.28 ▲0.74 | 38.01 ▼1.28 |
Dashboard /wp-admin | 2,411 ▲234 | 6.55 ▲0.90 | 125.65 ▲32.38 | 94.74 ▲57.22 |
Posts /wp-admin/edit.php | 2,333 ▲233 | 3.46 ▲1.44 | 56.61 ▲20.95 | 83.66 ▲47.04 |
Add New Post /wp-admin/post-new.php | 1,750 ▲222 | 22.46 ▼0.62 | 667.71 ▲34.49 | 164.63 ▲118.01 |
Media Library /wp-admin/upload.php | 1,479 ▲82 | 4.51 ▲0.28 | 89.18 ▼14.12 | 96.07 ▲52.57 |
WC Page Builder Options /wp-admin/admin.php?page=wpbforwpbakery_options | 2,458 | 3.75 | 59.94 | 80.57 |
Recommendations /wp-admin/admin.php?page=wpbforwpbakery_extensions | 3,139 | 3.80 | 48.91 | 39.74 |
All Templates /wp-admin/edit.php?post_type=wpbfwpb_template | 1,306 | 3.84 | 48.17 | 80.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.70MB] 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: 12 options
- wpbforwpbakery_elements_tabs
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- wpbforwpbakery_woo_template_tabs
- wpbforwpbakery_buy_pro_tabs
- widget_recent-posts
- wpbforwpbakery_general_tabs
- wpbforwpbakery_rename_label_tabs
- ...
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 13× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/wc-builder/includes/addons/product_add_to_cart.php
- > /wp-content/plugins/wc-builder/includes/addons/product_short_description.php
- > /wp-content/plugins/wc-builder/includes/addons/product_upsell.php
- > /wp-content/plugins/wc-builder/includes/addons/product_rating.php
- > /wp-content/plugins/wc-builder/includes/addons/archive_product.php
- > /wp-content/plugins/wc-builder/includes/addons/product_related.php
- > /wp-content/plugins/wc-builder/includes/addons/product_stock.php
- > /wp-content/plugins/wc-builder/includes/addons/product_title.php
- > /wp-content/plugins/wc-builder/includes/addons/product_price.php
- > /wp-content/plugins/wc-builder/includes/addons/product_reviews.php
- 8× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wc-builder/includes/woo_shop.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wc-builder/includes/activation-notice.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wc-builder/includes/addons/product_image.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wc-builder/includes/addons/product_meta.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wc-builder/includes/single-add-to-cart-ajax.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wc-builder/includes/custom-posts.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wc-builder/includes/rename_label.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wc-builder/includes/metaboxes.php:24
- > 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 93% 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 your attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4 in wc-builder/assets to your readme.txt
wc-builder/wc-builder.php 92% from 13 tests
The main file in "WC Builder - WooCommerce Page Builder for WPBakery" v. 1.0.18 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:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
Good job! No executable or dangerous file extensions detected4,704 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 35 | 810 | 612 | 4,039 |
CSS | 3 | 19 | 17 | 436 |
JavaScript | 3 | 59 | 38 | 229 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 12.36 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 3.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 22 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 122 | |
▷ Static methods | 5 | 4.10% |
▷ Public methods | 115 | 94.26% |
▷ Protected methods | 7 | 5.74% |
▷ Private methods | 0 | 0.00% |
Functions | 31 | |
▷ Named functions | 30 | 96.77% |
▷ Anonymous functions | 1 | 3.23% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
19 PNG files occupy 0.13MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) includes/admin/recommended-plugins/assets/images/extensions/wp-plugin-manager-pro.png | 13.31KB | 0.00KB | ▼ 100.00% |
includes/admin/recommended-plugins/assets/images/extensions/ht-script-pro.png | 6.03KB | 2.71KB | ▼ 55.09% |
includes/admin/recommended-plugins/assets/images/extensions/whols-pro.png | 15.30KB | 7.40KB | ▼ 51.65% |
includes/admin/recommended-plugins/assets/images/extensions/swatchly-pro.png | 13.99KB | 5.41KB | ▼ 61.37% |
includes/admin/recommended-plugins/assets/images/extensions/htmega-pro.png | 4.60KB | 4.78KB | 0.00% |