Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▲0.59ms] Passed 4 tests
Server-side resources used by JetWidgets For Elementor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 39.87 ▼4.89 |
Dashboard /wp-admin | 3.56 ▲0.26 | 47.17 ▼3.63 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 52.27 ▲9.09 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 103.41 ▲11.43 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 36.70 ▲1.79 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 3.49 | 31.99 |
JetWidgets Settings /wp-admin/admin.php?page=jet-widgets-settings | 3.61 | 47.43 |
Server storage [IO: ▲3.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 343 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for JetWidgets For Elementor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,943 ▲186 | 13.56 ▼0.70 | 8.56 ▲6.52 | 39.78 ▼5.65 |
Dashboard /wp-admin | 2,249 ▲58 | 5.85 ▼0.03 | 99.78 ▼2.44 | 42.60 ▼5.05 |
Posts /wp-admin/edit.php | 2,143 ▲54 | 2.11 ▲0.11 | 40.91 ▲5.49 | 41.74 ▲6.92 |
Add New Post /wp-admin/post-new.php | 1,549 ▲35 | 17.63 ▲0.17 | 584.61 ▼87.52 | 50.88 ▼10.24 |
Media Library /wp-admin/upload.php | 1,442 ▲51 | 4.24 ▲0.05 | 95.44 ▼17.25 | 46.29 ▼3.60 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 977 | 2.22 | 26.87 | 31.05 |
JetWidgets Settings /wp-admin/admin.php?page=jet-widgets-settings | 1,538 | 3.79 | 54.78 | 98.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following
- 8× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/jetwidgets-for-elementor/templates/jw-carousel/global/simple/items-loop-end.php
- > /wp-content/plugins/jetwidgets-for-elementor/templates/jw-pricing-table/global/features-loop-end.php
- > /wp-content/plugins/jetwidgets-for-elementor/templates/jw-images-layout/global/images-layout-loop-end.php
- > /wp-content/plugins/jetwidgets-for-elementor/templates/jw-pricing-table/global/features-loop-start.php
- > /wp-content/plugins/jetwidgets-for-elementor/templates/jw-posts/global/loop-end.php
- > /wp-content/plugins/jetwidgets-for-elementor/templates/jw-carousel/global/banners/items-loop-end.php
- > /wp-content/plugins/jetwidgets-for-elementor/templates/jw-testimonials/global/testimonials-loop-end.php
- > /wp-content/plugins/jetwidgets-for-elementor/templates/jw-image-comparison/global/image-comparison-loop-end.php
- 42× 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/jetwidgets-for-elementor/templates/jw-carousel/global/banners/items-loop-start.php:5
- > PHP Fatal error
Uncaught Error: Class 'WPML_Elementor_Module_With_Items' not found in wp-content/plugins/jetwidgets-for-elementor/includes/lib/compatibility/modules/class-wpml-jet-widgets-pricing-table.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/jetwidgets-for-elementor/templates/jw-image-comparison/global/index.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function jet_widgets_tools() in wp-content/plugins/jetwidgets-for-elementor/templates/jw-posts/global/loop-item.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/jetwidgets-for-elementor/templates/jw-pricing-table/global/heading.php:7
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/jetwidgets-for-elementor/templates/jw-posts/global/item-title.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/jetwidgets-for-elementor/templates/jw-pricing-table/global/price.php:7
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/jetwidgets-for-elementor/templates/jw-pricing-table/global/button.php:6
- > PHP Fatal error
Uncaught Error: Class 'WPML_Elementor_Module_With_Items' not found in wp-content/plugins/jetwidgets-for-elementor/includes/lib/compatibility/modules/class-wpml-jet-widgets-advanced-carousel.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/jetwidgets-for-elementor/templates/jw-posts/global/item-thumb.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: elementor widgets, pricing table, posts, headline, image comparison...
jetwidgets-for-elementor/jetwidgets-for-elementor.php 92% from 13 tests
The main file in "JetWidgets For Elementor" v. 1.0.15 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 211 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin62,899 lines of code in 303 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 145 | 5,911 | 9,001 | 30,947 |
JSON | 3 | 0 | 0 | 16,027 |
JavaScript | 45 | 1,968 | 757 | 8,515 |
Sass | 65 | 747 | 1 | 6,270 |
CSS | 40 | 117 | 8 | 1,025 |
SVG | 4 | 0 | 1 | 78 |
Markdown | 1 | 17 | 0 | 37 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 21.26 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 90 | |
▷ Abstract classes | 4 | 4.44% |
▷ Concrete classes | 86 | 95.56% |
▷ Final classes | 0 | 0.00% |
Methods | 830 | |
▷ Static methods | 67 | 8.07% |
▷ Public methods | 719 | 86.63% |
▷ Protected methods | 79 | 9.52% |
▷ Private methods | 32 | 3.86% |
Functions | 16 | |
▷ Named functions | 13 | 81.25% |
▷ Anonymous functions | 3 | 18.75% |
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
Often times overlooked, PNG files can occupy unnecessary space in 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% |