Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼4.81ms] Passed 4 tests
Analyzing server-side resources used by wcEazy - Supercharge your WooCommerce Store
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.12 | 39.72 ▼5.41 |
Dashboard /wp-admin | 3.50 ▲0.16 | 48.31 ▼6.02 |
Posts /wp-admin/edit.php | 3.62 ▲0.22 | 47.73 ▼6.15 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.16 | 86.56 ▼1.66 |
Media Library /wp-admin/upload.php | 3.43 ▲0.15 | 45.76 ▲9.92 |
Server storage [IO: ▲2.27MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 209 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
wceazy_modules |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
wcEazy - Supercharge your WooCommerce Store: 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,815 ▲54 | 14.24 ▲0.05 | 1.77 ▲0.01 | 44.05 ▲1.39 |
Dashboard /wp-admin | 2,221 ▲47 | 5.56 ▼0.14 | 83.29 ▼15.84 | 80.62 ▲38.51 |
Posts /wp-admin/edit.php | 2,133 ▲30 | 1.97 ▲0.01 | 34.70 ▼3.24 | 32.75 ▼1.99 |
Add New Post /wp-admin/post-new.php | 1,704 ▲176 | 22.07 ▼1.18 | 766.99 ▲63.93 | 52.43 ▼8.91 |
Media Library /wp-admin/upload.php | 1,423 ▲26 | 4.22 ▲0.13 | 104.71 ▼16.87 | 66.91 ▲17.06 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- wceazy_modules
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
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
Even though everything seems fine, this is not 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
Please fix the following items
- 11× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/wceazy/frontend/api/floating_cart/update_quantity.php
- > /wp-content/plugins/wceazy/frontend/api/product_sticky_bar/add_to_cart.php
- > /wp-content/plugins/wceazy/frontend/api/address_book/delete.php
- > /wp-content/plugins/wceazy/frontend/api/floating_cart/remove_cart_item.php
- > /wp-content/plugins/wceazy/frontend/api/product_filter/add_to_cart.php
- > /wp-content/plugins/wceazy/frontend/api/floating_cart/apply_coupon.php
- > /wp-content/plugins/wceazy/modules/pdf_invoice/library/tools/tcpdf_addfont.php
- > /wp-content/plugins/wceazy/frontend/api/address_book/make_primary.php
- > /wp-content/plugins/wceazy/backend/templates/views/pdf_invoice/invoice.php
- > /wp-content/plugins/wceazy/frontend/api/address_book/get_address_on_checkout.php
- 47× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/wceazy/backend/api/pdf_invoice/save.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wceazy/frontend/templates/views/one_click_checkout/view.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wceazy/backend/templates/dashboard.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/wceazy/backend/api/url_coupon/coupon_list.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/wceazy/backend/api/bogo_deal/save_rules.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function is_product() in wp-content/plugins/wceazy/frontend/templates/views/product_sticky_bar/view.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wceazy/backend/templates/views/product_sticky_bar/settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wceazy/backend/templates/views/bogo_deal/settings.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wceazy/frontend/api/shipping_bar/get_updated_content.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wceazy/backend/templates/views/url_coupon/settings.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6, #7, #8, #9 in wceazy/assets to your readme.txt
wceazy/wceazy.php 92% from 13 tests
The entry point to "wcEazy - Supercharge your WooCommerce Store" version 1.1.3 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis 95% from 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
Good job! No executable or dangerous file extensions detected41,876 lines of code in 198 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 107 | 4,383 | 2,879 | 33,307 |
CSS | 22 | 763 | 90 | 5,786 |
JavaScript | 21 | 486 | 106 | 2,206 |
SVG | 48 | 0 | 0 | 577 |
PHP code 0% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
It is recommended to fix the following
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 4,420)
- Method cyclomatic complexity should be reduced to less than 100 (currently 503)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 131.49 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4,420.00 |
Average method complexity | 9.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 503.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 49 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 49 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 754 | |
▷ Static methods | 110 | 14.59% |
▷ Public methods | 590 | 78.25% |
▷ Protected methods | 162 | 21.49% |
▷ Private methods | 2 | 0.27% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 78 | |
▷ Global constants | 78 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG files were detected