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
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼4.72ms] Passed 4 tests
Server-side resources used by WooCommerce For Elementor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.61 ▲2.67 |
Dashboard /wp-admin | 3.31 ▼0.04 | 46.15 ▼14.20 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.75 ▼1.04 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.76 ▼3.73 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.49 ▲0.10 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WooCommerce For Elementor: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.23 ▼0.21 | 1.64 ▼0.12 | 36.92 ▼3.28 |
Dashboard /wp-admin | 2,192 ▲11 | 5.51 ▼0.21 | 80.55 ▼20.16 | 36.67 ▼2.42 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.97 ▼0.06 | 33.57 ▼1.29 | 34.66 ▼2.24 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.18 ▲4.85 | 645.72 ▼63.98 | 52.25 ▼20.66 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.19 ▼0.07 | 99.38 ▲1.96 | 41.88 ▼2.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/woo-for-elementor/includes/base/base_widget.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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: drag and drop, page builder, landing page, slider, editor...
woo-for-elementor/woocommerce-for-elementor.php 85% from 13 tests
The main PHP script in "WooCommerce For Elementor" version 1.0.5 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("woo-for-elementor.php" instead of "woocommerce-for-elementor.php")
- 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 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin2,151 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 323 | 481 | 2,058 |
Sass | 1 | 0 | 0 | 53 |
JavaScript | 4 | 18 | 2 | 26 |
CSS | 1 | 0 | 0 | 13 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 9.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 1 | 14.29% |
▷ Concrete classes | 6 | 85.71% |
▷ Final classes | 1 | 16.67% |
Methods | 54 | |
▷ Static methods | 4 | 7.41% |
▷ Public methods | 46 | 85.19% |
▷ Protected methods | 6 | 11.11% |
▷ Private methods | 2 | 3.70% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There were not PNG files found in your plugin