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.38MB] [CPU: ▼3.38ms] Passed 4 tests
A check of server-side resources used by JetWidgets for Elementor and WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 37.65 ▼2.58 |
Dashboard /wp-admin | 3.83 ▲0.52 | 51.40 ▲7.86 |
Posts /wp-admin/edit.php | 3.88 ▲0.52 | 50.24 ▲1.24 |
Add New Post /wp-admin/post-new.php | 6.35 ▲0.46 | 83.29 ▼14.33 |
Media Library /wp-admin/upload.php | 3.69 ▲0.46 | 37.42 ▲2.14 |
Install Plugins /wp-admin/plugins.php?page=jet-woo-widgets-install-plugins | 3.76 | 34.25 |
Server storage [IO: ▲1.41MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 137 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for JetWidgets 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,835 ▲89 | 13.22 ▼1.37 | 4.95 ▲2.93 | 40.69 ▼2.15 |
Dashboard /wp-admin | 2,238 ▲47 | 5.82 ▼0.08 | 101.29 ▼0.17 | 43.27 ▼0.24 |
Posts /wp-admin/edit.php | 2,132 ▲40 | 2.05 ▲0.02 | 42.14 ▼0.32 | 40.97 ▲4.50 |
Add New Post /wp-admin/post-new.php | 1,569 ▲49 | 18.12 ▼5.05 | 611.95 ▼73.75 | 48.03 ▼12.79 |
Media Library /wp-admin/upload.php | 1,434 ▲52 | 4.30 ▲0.08 | 97.38 ▼5.44 | 44.56 ▲2.21 |
Install Plugins /wp-admin/plugins.php?page=jet-woo-widgets-install-plugins | 990 | 2.08 | 26.19 | 32.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
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 | 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
Almost there! Just fix the following items
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/jetwoo-widgets-for-elementor/templates/jet-woo-widgets-products/global/loop-end.php
- > /wp-content/plugins/jetwoo-widgets-for-elementor/templates/jet-woo-widgets-categories/global/loop-end.php
- > /wp-content/plugins/jetwoo-widgets-for-elementor/templates/jet-woo-widgets-products-list/global/loop-end.php
- 42× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: category in wp-content/plugins/jetwoo-widgets-for-elementor/templates/jet-woo-widgets-categories/global/item-count.php on line 6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/jetwoo-widgets-for-elementor/templates/jet-woo-widgets-products/global/presets/preset-4.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/jetwoo-widgets-for-elementor/templates/jet-woo-widgets-categories/global/loop-start.php:8
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/jetwoo-widgets-for-elementor/templates/jet-woo-widgets-products-list/global/loop-start.php:10
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/jetwoo-widgets-for-elementor/templates/jet-woo-widgets-products-list/global/loop-item.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function jet_woo_widgets_settings() in wp-content/plugins/jetwoo-widgets-for-elementor/templates/jet-woo-widgets-products/global/loop-item.php:7
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/jetwoo-widgets-for-elementor/templates/jet-woo-widgets-categories/global/presets/preset-1.php:8
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/jetwoo-widgets-for-elementor/templates/jet-woo-widgets-categories/global/presets/preset-4.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/jetwoo-widgets-for-elementor/includes/lib/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
Uncaught Error: Class 'Jet_Woo_Widgets_Shortcode_Base' not found in wp-content/plugins/jetwoo-widgets-for-elementor/includes/shortcodes/jet-woo-widgets-products-shortcode.php:6
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
jetwoo-widgets-for-elementor/jetwoo-widgets-for-elementor.php Passed 13 tests
Analyzing the main PHP file in "JetWidgets for Elementor and WooCommerce" version 1.1.6
62 characters long description:
Set of modules for WooCommerce based on Elementor Page Builder
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin17,619 lines of code in 126 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 84 | 2,380 | 3,721 | 12,402 |
Sass | 28 | 311 | 3 | 2,908 |
JavaScript | 7 | 362 | 154 | 2,078 |
SVG | 2 | 0 | 0 | 121 |
CSS | 5 | 9 | 2 | 110 |
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 | 19.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 2.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 41 | |
▷ Abstract classes | 3 | 7.32% |
▷ Concrete classes | 38 | 92.68% |
▷ Final classes | 0 | 0.00% |
Methods | 379 | |
▷ Static methods | 16 | 4.22% |
▷ Public methods | 303 | 79.95% |
▷ Protected methods | 71 | 18.73% |
▷ Private methods | 5 | 1.32% |
Functions | 11 | |
▷ Named functions | 10 | 90.91% |
▷ Anonymous functions | 1 | 9.09% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.13MB with 0.09MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/banner.png | 132.17KB | 43.69KB | ▼ 66.94% |