Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.20MB] [CPU: ▼6.17ms] Passed 4 tests
Analyzing server-side resources used by ShopBuilder - Elementor WooCommerce Builder Addons
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 38.20 ▼0.51 |
Dashboard /wp-admin | 3.55 ▲0.24 | 47.49 ▼20.91 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 59.11 ▲9.89 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 87.18 ▼9.65 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 40.11 ▲6.39 |
Server storage [IO: ▲5.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 416 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
ShopBuilder - Elementor WooCommerce Builder Addons: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲25 | 14.31 ▼0.03 | 1.66 ▼0.33 | 41.40 ▼0.95 |
Dashboard /wp-admin | 2,217 ▲40 | 5.61 ▲0.01 | 93.53 ▲2.31 | 44.21 ▼2.88 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 2.11 ▲0.10 | 43.63 ▲3.55 | 41.17 ▲2.32 |
Add New Post /wp-admin/post-new.php | 1,548 ▲9 | 23.63 ▲0.47 | 700.17 ▲79.71 | 61.44 ▲9.82 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.25 ▲0.04 | 99.00 ▲2.68 | 43.28 ▲3.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
Please fix the following
- 208× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/shopbuilder/app/Elementor/Widgets/Controls/SliderSettings.php
- > /wp-content/plugins/shopbuilder/templates/elementor/archive/title.php
- > /wp-content/plugins/shopbuilder/templates/elementor/general/slider/slider-layout1.php
- > /wp-content/plugins/shopbuilder/app/Controllers/ThemesSupport/Astra/WidgetsSupport.php
- > /wp-content/plugins/shopbuilder/app/Elementor/Controls/ImageSelectorControl.php
- > /wp-content/plugins/shopbuilder/app/Modules/QuickView/QuickView.php
- > /wp-content/plugins/shopbuilder/templates/wishlist/list.php
- > /wp-content/plugins/shopbuilder/app/Elementor/Widgets/Single/RelatedProduct.php
- > /wp-content/plugins/shopbuilder/app/Modules/WishList/WishlistAdmin.php
- > /wp-content/plugins/shopbuilder/app/Elementor/Widgets/Controls/ProductShareSettings.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Trait 'RadiusTheme\\SB\\Traits\\SingletonTrait' not found in wp-content/plugins/shopbuilder/app/Helpers/ElementorDataMap.php on line 7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Donate link: Please fix this invalid URI: ""
shopbuilder/shopbuilder.php 92% from 13 tests
"ShopBuilder - Elementor WooCommerce Builder Addons" version 2.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.5" instead of "3.2")
Code Analysis 97% from 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
Everything looks great! No dangerous files found in this plugin34,689 lines of code in 350 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 238 | 4,982 | 9,274 | 33,859 |
SVG | 89 | 0 | 1 | 757 |
JSON | 2 | 0 | 0 | 40 |
JavaScript | 10 | 1 | 101 | 22 |
CSS | 11 | 1 | 11 | 11 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
Please tend to the following items
- Please reduce cyclomatic complexity of methods to less than 100 (currently 123)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 12.68 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 306.00 |
Average method complexity | 2.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 123.00 |
Code structure | ||
---|---|---|
Namespaces | 33 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 165 | |
▷ Abstract classes | 5 | 3.03% |
▷ Concrete classes | 160 | 96.97% |
▷ Final classes | 4 | 2.50% |
Methods | 1,019 | |
▷ Static methods | 357 | 35.03% |
▷ Public methods | 847 | 83.12% |
▷ Protected methods | 112 | 10.99% |
▷ Private methods | 60 | 5.89% |
Functions | 37 | |
▷ Named functions | 1 | 2.70% |
▷ Anonymous functions | 36 | 97.30% |
Constants | 14 | |
▷ Global constants | 6 | 42.86% |
▷ Class constants | 8 | 57.14% |
▷ Public constants | 7 | 87.50% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
32 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/layout/old-filter-layout-2.png | 1.75KB | 1.08KB | ▼ 38.06% |
assets/images/layout/old-filter-layout-1.png | 1.83KB | 1.14KB | ▼ 37.71% |
assets/images/demo.png | 5.48KB | 3.86KB | ▼ 29.64% |
assets/images/layout/filter-layout-2.png | 2.33KB | 1.25KB | ▼ 46.52% |
assets/images/layout/image-layout-gallery-bottom-2.png | 1.45KB | 1.19KB | ▼ 17.98% |