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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.87MB] [CPU: ▼2.63ms] Passed 4 tests
Analyzing server-side resources used by ShopLentor – WooCommerce Builder for Elementor & Gutenberg +10 Modules – All in One Solution (formerly WooLentor)
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.18 ▲1.71 | 41.89 ▼2.19 |
Dashboard /wp-admin | 3.91 ▲0.57 | 51.18 ▼17.52 |
Posts /wp-admin/edit.php | 3.97 ▲0.61 | 51.91 ▲4.45 |
Add New Post /wp-admin/post-new.php | 8.21 ▲2.32 | 497.46 ▲405.89 |
Media Library /wp-admin/upload.php | 3.84 ▲0.61 | 38.82 ▲4.74 |
Template Builder /wp-admin/edit.php?post_type=woolentor-template | 3.73 | 31.58 |
Server storage [IO: ▲8.48MB] [DB: ▲0.04MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 399 new files
Database: no new tables, 9 new options
New WordPress options |
---|
recovery_mode_email_last_sent |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
woolentor_do_activation_redirect |
widget_recent-posts |
widget_theysaidso_widget |
woolentor_plugin_permalinks_flushed |
Browser metrics Passed 4 tests
Checking browser requirements for ShopLentor – WooCommerce Builder for Elementor & Gutenberg +10 Modules – All in One Solution (formerly WooLentor)
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲93 | 14.33 ▲0.05 | 2.15 ▲0.35 | 37.55 ▼5.49 |
Dashboard /wp-admin | 2,217 ▲37 | 5.65 ▲0.07 | 91.28 ▼6.40 | 41.05 ▼4.90 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.12 ▲0.10 | 41.09 ▲4.94 | 35.49 ▼0.63 |
Add New Post /wp-admin/post-new.php | 6,309 ▲4,783 | 20.66 ▼2.51 | 952.63 ▲277.46 | 63.86 ▲14.88 |
Media Library /wp-admin/upload.php | 1,422 ▲22 | 4.27 ▲0.08 | 98.96 ▲2.34 | 43.68 ▲1.16 |
Template Builder /wp-admin/edit.php?post_type=woolentor-template | 55 | 0.41 | 0.12 | 8.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.04MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 9 options in the database
- woolentor_plugin_permalinks_flushed
- widget_recent-comments
- recovery_mode_email_last_sent
- widget_theysaidso_widget
- woolentor_do_activation_redirect
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=woolentor-template
- > Error in wp-content/plugins/woolentor-addons/includes/admin/include/class.template-manager.php+443
Uncaught Error: Call to undefined function woolentor_is_elementor_editor() in wp-content/plugins/woolentor-addons/includes/admin/include/class.template-manager.php:443
Stack trace:
#0 wp-includes/class-wp-hook.php(310): Woolentor_Template_Manager->enqueue_scripts()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-admin/admin-header.php(118): do_action()
#4 wp-admin/edit.php(407): require_once('/var/www/wordpr...')
#5 {main}
thrown
SRP 50% 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
- 18× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/woolentor-addons/includes/admin/include/template-library/templates_list.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/woolentor-addons/includes/modules/wishlist/includes/templates/wishsuite-count.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woolentor-addons/includes/modules/sales-notification/class.sale_notification_fake.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/woolentor-addons/includes/modules/compare/includes/templates/evercompare-table.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woolentor-addons/classes/class.default_data.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/woolentor-addons/woolentor-blocks/woolentor-blocks.php:50
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/woolentor-addons/includes/modules/compare/includes/templates/evercompare-button-add.php:1
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/woolentor-addons/includes/modules/ajax-search/widget-product-search-ajax.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/woolentor-addons/includes/modules/rename-label/rename_label.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/woolentor-addons/includes/modules/wishlist/includes/templates/wishsuite-table.php:46
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/edit.php?post_type=woolentor-template
- > Network (severe)
wp-admin/edit.php?post_type=woolentor-template - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
woolentor-addons/woolentor_addons_elementor.php 85% from 13 tests
The main PHP script in "ShopLentor – WooCommerce Builder for Elementor & Gutenberg +10 Modules – All in One Solution (formerly WooLentor)" version 2.7.4 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("woolentor-addons.php" instead of "woolentor_addons_elementor.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected90,219 lines of code in 357 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 232 | 8,989 | 4,932 | 50,458 |
CSS | 41 | 2,370 | 433 | 25,578 |
JSON | 31 | 70 | 0 | 6,097 |
JavaScript | 42 | 1,096 | 893 | 4,956 |
SVG | 10 | 0 | 1 | 3,050 |
XML | 1 | 0 | 0 | 80 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
These items need your attention
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 136)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 24.69 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 267.00 |
Average method complexity | 3.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 136.00 |
Code structure | ||
---|---|---|
Namespaces | 19 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 147 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 147 | 100.00% |
▷ Final classes | 5 | 3.40% |
Methods | 1,243 | |
▷ Static methods | 138 | 11.10% |
▷ Public methods | 1,072 | 86.24% |
▷ Protected methods | 122 | 9.81% |
▷ Private methods | 49 | 3.94% |
Functions | 160 | |
▷ Named functions | 117 | 73.12% |
▷ Anonymous functions | 43 | 26.88% |
Constants | 51 | |
▷ Global constants | 33 | 64.71% |
▷ Class constants | 18 | 35.29% |
▷ Public constants | 18 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
21 PNG files occupy 0.29MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/admin/assets/images/logo.png | 3.20KB | 1.69KB | ▼ 47.09% |
includes/admin/assets/images/extension/whols-pro.png | 15.30KB | 7.40KB | ▼ 51.65% |
includes/admin/assets/images/icons/rating.png | 3.91KB | 1.85KB | ▼ 52.56% |
includes/admin/assets/images/helping-screenshot.png | 75.08KB | 29.48KB | ▼ 60.73% |
includes/admin/assets/images/icons/caret-down.png | 0.19KB | 0.15KB | ▼ 20.21% |