Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼8.98ms] Passed 4 tests
This is a short check of server-side resources used by Multiple Products to Cart - WooCommerce Product Table
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.95 ▼4.42 |
Dashboard /wp-admin | 3.31 ▼0.03 | 51.43 ▼13.13 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 43.30 ▼5.32 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 90.68 ▼13.03 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.30 ▼2.78 |
Server storage [IO: ▲0.65MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 17 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
wmc_redirect |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
wmc_show_all_select |
wmca_show_reset_btn |
wmc_show_pagination_text |
mpc_show_add_to_cart_button |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Multiple Products to Cart - WooCommerce Product Table
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲68 | 14.31 ▼0.13 | 2.42 ▲0.58 | 37.96 ▼5.45 |
Dashboard /wp-admin | 2,195 ▲15 | 5.53 ▼0.12 | 89.08 ▼0.49 | 38.09 ▼2.18 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.15 ▲0.18 | 38.98 ▲0.26 | 33.68 ▼0.48 |
Add New Post /wp-admin/post-new.php | 1,527 ▲1 | 23.22 ▲0.25 | 593.75 ▼18.41 | 58.67 ▲5.56 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.23 ▲0.06 | 100.51 ▼2.92 | 42.33 ▼0.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 17 options in the database
- mpc_show_total_price
- db_upgraded
- widget_recent-posts
- wmca_show_header
- theysaidso_admin_options
- wmc_show_products_filter
- wmc_show_pagination_text
- widget_recent-comments
- wmc_redirect
- can_compress_scripts
- ...
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
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following items
- 12× 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 get_option() in wp-content/plugins/multiple-products-to-cart-for-woocommerce/assets/php-css/dynamic-styles.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/multiple-products-to-cart-for-woocommerce/includes/functions.php:79
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multiple-products-to-cart-for-woocommerce/includes/loader.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/multiple-products-to-cart-for-woocommerce/templates/listing-list.php:16
- > PHP Fatal error
Uncaught Error: Class 'MPCSettings' not found in wp-content/plugins/multiple-products-to-cart-for-woocommerce/templates/admin/template-parts/column-sorting.php:10
- > PHP Fatal error
Uncaught Error: Class 'MPCSettings' not found in wp-content/plugins/multiple-products-to-cart-for-woocommerce/templates/admin/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/multiple-products-to-cart-for-woocommerce/includes/core-data.php:816
- > PHP Fatal error
Uncaught Error: Class 'MPCShortcode' not found in wp-content/plugins/multiple-products-to-cart-for-woocommerce/templates/admin/template-parts/all-tables.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/multiple-products-to-cart-for-woocommerce/templates/admin/popup.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/multiple-products-to-cart-for-woocommerce/includes/hooks.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: product table, products table, wc product table, woocommerce table, multiple products...
multiple-products-to-cart-for-woocommerce/multiple-products-to-cart-for-woocommerce.php Passed 13 tests
This is the main PHP file of "Multiple Products to Cart - WooCommerce Product Table" version 7.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
123 characters long description:
A truly lightweight EASY to use and super FAST WooCommerce product table solution to add multiple products to cart at once.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected12,839 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 850 | 878 | 6,655 |
PHP | 15 | 791 | 682 | 3,839 |
CSS | 3 | 5 | 15 | 2,286 |
SVG | 2 | 0 | 2 | 59 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 118.50 |
▷ Minimum class complexity | 106.00 |
▷ Maximum class complexity | 131.00 |
Average method complexity | 6.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 44 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 72 | |
▷ Named functions | 70 | 97.22% |
▷ Anonymous functions | 2 | 2.78% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/check-v.png | 1.58KB | 0.71KB | ▼ 55.16% |
assets/images/pro-icon.png | 0.84KB | 0.75KB | ▼ 11.16% |