Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/orderstorm-e-commerce/CLASS_OrderStormECommerceForWordPress.php+615
count(): Parameter must be an array or an object that implements Countable
Server metrics [RAM: ▼1.92MB] [CPU: ▲13.17ms] Passed 4 tests
A check of server-side resources used by OrderStorm E-commerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.40 | 5.72 ▼32.27 |
Dashboard /wp-admin | 2.09 ▼1.22 | 8.89 ▼40.87 |
Posts /wp-admin/edit.php | 2.09 ▼1.26 | 6.18 ▼42.68 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.80 | 264.93 ▲168.49 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 3,868.06 ▲3,830.50 |
Advanced /wp-admin/admin.php?page=orderstorm_ecommerce_advanced_settings_menu_option | 2.09 | 229.31 |
Products /wp-admin/admin.php?page=orderstorm_ecommerce_products_menu_option | 2.09 | 7.01 |
Product Categories /wp-admin/admin.php?page=orderstorm_ecommerce_product_categories_menu_option | 2.09 | 6.10 |
Main /wp-admin/admin.php?page=orderstorm_ecommerce_settings_menu | 2.09 | 7.01 |
Server storage [IO: ▲0.24MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 27 new files
Database: no new tables, 19 new options
New WordPress options |
---|
orderstorm_ecommerce_cart_info_for_plugin_updated |
orderstorm_ecommerce_checkout_page_id |
orderstorm_ecommerce_do_not_verify_ssl_peer_certificate |
orderstorm_ecommerce_product_page_id |
widget_recent-posts |
can_compress_scripts |
orderstorm_ecommerce_host_name |
orderstorm_ecommerce_product_category_page_id |
db_upgraded |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
A check of browser resources used by OrderStorm E-commerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,480 ▲719 | 20.42 ▲6.15 | 83.03 ▲81.31 | 39.70 ▼0.31 |
Dashboard /wp-admin | 2,237 ▲56 | 5.56 ▼0.19 | 81.09 ▼24.96 | 39.31 ▼5.95 |
Posts /wp-admin/edit.php | 2,139 ▲39 | 1.98 ▲0.04 | 33.23 ▼4.12 | 35.49 ▲1.46 |
Add New Post /wp-admin/post-new.php | 1,569 ▲41 | 23.75 ▲0.74 | 619.53 ▼66.56 | 65.98 ▲8.60 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.25 ▲0.05 | 97.53 ▼2.68 | 44.48 ▲0.11 |
Advanced /wp-admin/admin.php?page=orderstorm_ecommerce_advanced_settings_menu_option | 971 | 2.02 | 22.76 | 23.86 |
Products /wp-admin/admin.php?page=orderstorm_ecommerce_products_menu_option | 954 | 2.04 | 23.55 | 54.82 |
Product Categories /wp-admin/admin.php?page=orderstorm_ecommerce_product_categories_menu_option | 954 | 2.04 | 24.50 | 32.69 |
Main /wp-admin/admin.php?page=orderstorm_ecommerce_settings_menu | 2,549 | 1.82 | 22.69 | 30.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/orderstorm-e-commerce/CLASS_OrderStormECommerceForWordPress.php+615
count(): Parameter must be an array or an object that implements Countable
- Zombie WordPress options detected upon uninstall: 19 options
- orderstorm_ecommerce_product_category_page_id
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- orderstorm_ecommerce_key_guid
- widget_orderstorm_ecommerce_ng_categories_menu
- orderstorm_ecommerce_do_not_verify_ssl_peer_certificate
- widget_orderstorm_ecommerce_shopping_cart_status
- orderstorm_ecommerce_cart_info_for_plugin_updated
- theysaidso_admin_options
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=orderstorm_ecommerce_settings_menu
- > Warning in wp-content/plugins/orderstorm-e-commerce/CLASS_OrderStormECommerceForWordPress.php+615
count(): Parameter must be an array or an object that implements Countable
SRP 50% 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 items
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/orderstorm-e-commerce/CLASS_OrderStormECommerceNgCategoriesMenuWidget.php:18
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/orderstorm-e-commerce/CLASS_OrderStormECommerceShoppingCartStatusWidget.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function get_role() in wp-content/plugins/orderstorm-e-commerce/orderstorm-ecommerce.php:61
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/orderstorm-e-commerce/CLASS_OrderStormECommerceNgAutomotiveApplicationsWidget.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function get_locale() in wp-content/plugins/orderstorm-e-commerce/OrderStormEcommerceLocalization.php:18
- > 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 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Donate link: Invalid url: "www.orderstorm.com/wordpress-e-commerce-sign-up/ecommerce-wordpress-plugin-pricing/"
orderstorm-e-commerce/orderstorm-ecommerce.php 77% from 13 tests
The main PHP script in "OrderStorm E-commerce" version 2.0.2 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("orderstorm-e-commerce.php" instead of "orderstorm-ecommerce.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 374 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
Good job! No executable or dangerous file extensions detected5,632 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 691 | 147 | 5,251 |
JavaScript | 3 | 41 | 62 | 381 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 89.14 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 475.00 |
Average method complexity | 4.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 99.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 179 | |
▷ Static methods | 17 | 9.50% |
▷ Public methods | 169 | 94.41% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 5.59% |
Functions | 49 | |
▷ Named functions | 49 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 39 | |
▷ Global constants | 39 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
12 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/zoomIn.png | 1.14KB | 1.09KB | ▼ 4.02% |
images/menu_center.png | 2.86KB | 0.27KB | ▼ 90.43% |
images/menu_center_blue.png | 1.02KB | 0.24KB | ▼ 76.06% |
images/menu_top_blue.png | 3.89KB | 0.26KB | ▼ 93.34% |
images/menu_bottom_black.png | 3.02KB | 0.64KB | ▼ 78.74% |