Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.26ms] Passed 4 tests
A check of server-side resources used by Bosa Elementor Addons and Templates for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 35.86 ▼1.81 |
Dashboard /wp-admin | 3.35 ▲0.04 | 44.68 ▼2.85 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.73 ▲1.53 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 82.77 ▼9.89 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.91 ▲2.68 |
Server storage [IO: ▲3.66MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 86 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bosa Elementor Addons and Templates for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲65 | 14.35 ▲0.00 | 1.71 ▲0.10 | 36.12 ▼5.47 |
Dashboard /wp-admin | 2,217 ▲43 | 5.52 ▼0.09 | 80.68 ▼8.38 | 40.89 ▼1.98 |
Posts /wp-admin/edit.php | 2,122 ▲19 | 2.09 ▲0.12 | 39.93 ▼3.50 | 36.30 ▼1.51 |
Add New Post /wp-admin/post-new.php | 1,548 ▲20 | 22.99 ▼0.35 | 633.19 ▼62.32 | 51.70 ▼3.94 |
Media Library /wp-admin/upload.php | 1,422 ▲25 | 4.17 ▼0.05 | 111.61 ▲11.54 | 49.00 ▲4.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% 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 take a closer look at the following
- 11× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\BEW_Settings' not found in wp-content/plugins/bosa-elementor-for-woocommerce/widgets/bew-elements-products.php:5
- > PHP Warning
Use of undefined constant BEW_URL - assumed 'BEW_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/bosa-elementor-for-woocommerce/includes/bew-template-list.php on line 7
- > PHP Warning
Use of undefined constant BEW_URL - assumed 'BEW_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/bosa-elementor-for-woocommerce/includes/bew-importer.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/bosa-elementor-for-woocommerce/includes/bew-importer.php:25
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\BEW_Settings' not found in wp-content/plugins/bosa-elementor-for-woocommerce/widgets/bew-elements-blog.php:5
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/bosa-elementor-for-woocommerce/includes/bew-common.php:20
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\BEW_Settings' not found in wp-content/plugins/bosa-elementor-for-woocommerce/widgets/bew-elements-categories.php:5
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\BEW_Settings' not found in wp-content/plugins/bosa-elementor-for-woocommerce/widgets/bew-elements-carousel-products.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/bosa-elementor-for-woocommerce/includes/bew-template.php:13
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\BEW_Settings' not found in wp-content/plugins/bosa-elementor-for-woocommerce/widgets/bew-elements-contact-form-7.php:5
- > PHP Fatal error
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 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: elementor, woocommerce, elementor widgets for woocommerce, elementor addons, elementor templates for woocommerce...
bosa-elementor-for-woocommerce/bosa-elementor-for-woocommerce.php 85% from 13 tests
The main PHP script in "Bosa Elementor Addons and Templates for WooCommerce" version 1.0.12 is automatically included on every request by WordPress
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 251 characters long)
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin7,043 lines of code in 51 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 910 | 201 | 5,850 |
CSS | 5 | 23 | 32 | 1,022 |
JavaScript | 3 | 22 | 16 | 138 |
JSON | 33 | 0 | 0 | 33 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 36.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 68.00 |
Average method complexity | 4.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 68.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 1 | 12.50% |
▷ Concrete classes | 7 | 87.50% |
▷ Final classes | 0 | 0.00% |
Methods | 88 | |
▷ Static methods | 3 | 3.41% |
▷ Public methods | 76 | 86.36% |
▷ Protected methods | 12 | 13.64% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected