Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.16MB] [CPU: ▼9.31ms] Passed 4 tests
An overview of server-side resources used by Custom Builder for Elementor and WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 40.87 ▲0.59 |
Dashboard /wp-admin | 3.48 ▲0.13 | 46.52 ▼16.15 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 47.22 ▲1.32 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 90.71 ▼4.88 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 36.09 ▼16.80 |
Server storage [IO: ▲2.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 268 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Custom Builder for Elementor and WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲91 | 13.16 ▼1.15 | 1.89 ▲0.04 | 42.83 ▼0.40 |
Dashboard /wp-admin | 2,243 ▲51 | 4.86 ▼0.19 | 108.80 ▲0.37 | 38.90 ▲0.29 |
Posts /wp-admin/edit.php | 2,125 ▲33 | 1.99 ▼0.04 | 41.69 ▲0.10 | 36.26 ▲1.89 |
Add New Post /wp-admin/post-new.php | 1,560 ▲18 | 23.51 ▲5.13 | 633.60 ▼19.98 | 56.91 ▼4.88 |
Media Library /wp-admin/upload.php | 1,428 ▲40 | 4.26 ▲0.06 | 99.00 ▲5.74 | 42.11 ▼1.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
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
Everything seems fine, however this is by no means 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
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/custom-woo-builder-for-elementor/templates/custom-woo-categories/global/loop-end.php
- > /wp-content/plugins/custom-woo-builder-for-elementor/templates/custom-woo-products/global/loop-end.php
- > /wp-content/plugins/custom-woo-builder-for-elementor/templates/custom-woo-products-list/global/loop-end.php
- 72× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/custom-woo-builder-for-elementor/templates/custom-woo-products/global/presets/preset-10.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function custom_woo_builder_tools() in wp-content/plugins/custom-woo-builder-for-elementor/templates/custom-woo-categories/global/loop-item.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function custom_woo_builder_template_functions() in wp-content/plugins/custom-woo-builder-for-elementor/templates/custom-woo-products/global/item-content.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function custom_woo_builder_template_functions() in wp-content/plugins/custom-woo-builder-for-elementor/templates/custom-woo-products/global/item-title.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function comments_template() in wp-content/plugins/custom-woo-builder-for-elementor/templates/custom-single-reviews-form/global/index.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function woocommerce_template_single_excerpt() in wp-content/plugins/custom-woo-builder-for-elementor/templates/custom-single-excerpt/global/index.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/custom-woo-builder-for-elementor/templates/custom-woo-products-list/global/loop-start.php:10
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/custom-woo-builder-for-elementor/templates/custom-woo-products/global/presets/preset-6.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/custom-woo-builder-for-elementor/templates/cutsom-single-rating/global/index.php:6
- > PHP Notice
Trying to get property 'name' of non-object in wp-content/plugins/custom-woo-builder-for-elementor/templates/custom-woo-categories/global/item-title.php on line 6
- > 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
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Tags: You are using too many tags: 11 tag instead of maximum 10
custom-woo-builder-for-elementor/custom-woo-builder.php 85% from 13 tests
"Custom Builder for Elementor and WooCommerce" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("custom-woo-builder-for-elementor.php" instead of "custom-woo-builder.php")
- Description: The description should be shorter than 140 characters (currently 157 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin28,952 lines of code in 223 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 171 | 4,655 | 1,731 | 24,670 |
JavaScript | 8 | 413 | 154 | 2,229 |
Sass | 18 | 180 | 0 | 2,024 |
JSON | 20 | 0 | 0 | 20 |
CSS | 6 | 0 | 0 | 9 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 11.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 88 | |
▷ Abstract classes | 3 | 3.41% |
▷ Concrete classes | 85 | 96.59% |
▷ Final classes | 0 | 0.00% |
Methods | 796 | |
▷ Static methods | 38 | 4.77% |
▷ Public methods | 649 | 81.53% |
▷ Protected methods | 132 | 16.58% |
▷ Private methods | 15 | 1.88% |
Functions | 14 | |
▷ Named functions | 12 | 85.71% |
▷ Anonymous functions | 2 | 14.29% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
40 PNG files occupy 0.64MB with 0.39MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/thumbnail17.png | 15.44KB | 5.68KB | ▼ 63.24% |
includes/templates/single/layout-8/thumbnail.png | 13.59KB | 5.36KB | ▼ 60.58% |
includes/templates/archive/layout-3/thumbnail.png | 12.43KB | 4.72KB | ▼ 61.99% |
includes/templates/single/layout-1/thumbnail.png | 17.20KB | 7.50KB | ▼ 56.39% |
includes/templates/shop/layout-3/thumbnail.png | 15.98KB | 5.95KB | ▼ 62.77% |