Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.26MB] [CPU: ▼0.43ms] Passed 4 tests
Server-side resources used by Multiple Carts, Persistent Carts, Abandoned Carts, MultiVendors for Woo - Free by WP Masters
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 47.98 ▲7.97 |
Dashboard /wp-admin | 3.55 ▲0.25 | 46.46 ▼1.55 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 46.90 ▲3.72 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 86.49 ▼7.26 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 37.87 ▲3.39 |
Add New /wp-admin/post-new.php?post_type=carts | 3.57 | 47.47 |
Add New /wp-admin/post-new.php?post_type=suppliers | 3.52 | 44.45 |
All Suppliers /wp-admin/edit.php?post_type=suppliers | 3.52 | 47.03 |
All Carts /wp-admin/edit.php?post_type=carts | 3.52 | 33.54 |
Server storage [IO: ▲4.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 30 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_vendors_carts |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Multiple Carts, Persistent Carts, Abandoned Carts, MultiVendors for Woo - Free by WP Masters
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,035 ▲300 | 16.10 ▲1.72 | 6.17 ▲4.32 | 34.44 ▼13.76 |
Dashboard /wp-admin | 2,278 ▲90 | 7.43 ▲2.55 | 124.83 ▲14.80 | 41.79 ▼3.65 |
Posts /wp-admin/edit.php | 2,173 ▲84 | 4.20 ▲2.19 | 47.36 ▲9.90 | 44.44 ▲10.73 |
Add New Post /wp-admin/post-new.php | 1,606 ▲86 | 23.00 ▼0.14 | 700.71 ▲22.83 | 46.24 ▼3.67 |
Media Library /wp-admin/upload.php | 1,469 ▲81 | 6.58 ▲2.38 | 107.77 ▲9.76 | 43.44 ▲1.35 |
Add New /wp-admin/post-new.php?post_type=carts | 1,563 | 4.51 | 67.49 | 47.30 |
Add New /wp-admin/post-new.php?post_type=suppliers | 1,512 | 4.53 | 56.88 | 36.10 |
All Suppliers /wp-admin/edit.php?post_type=suppliers | 1,145 | 4.05 | 43.86 | 35.56 |
All Carts /wp-admin/edit.php?post_type=carts | 1,150 | 4.00 | 44.40 | 39.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie tables were found after uninstall: 1 table
- wp_vendors_carts
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/multiple-carts-for-woo-free-by-wp-masters/templates/admin/supplier_product_metabox.php
- 11× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to a member function is_type() on null in wp-content/plugins/multiple-carts-for-woo-free-by-wp-masters/templates/ajax/variations_options.php:2
- > PHP Notice
Undefined variable: product in wp-content/plugins/multiple-carts-for-woo-free-by-wp-masters/templates/ajax/variations_options.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function is_plugin_active() in wp-content/plugins/multiple-carts-for-woo-free-by-wp-masters/templates/admin/meta_data_carts.php:1
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/multiple-carts-for-woo-free-by-wp-masters/templates/mail/remind_carts.php on line 88
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/multiple-carts-for-woo-free-by-wp-masters/templates/mail/remind_carts.php:94
- > PHP Notice
Undefined variable: suppliers in wp-content/plugins/multiple-carts-for-woo-free-by-wp-masters/templates/admin/supplier_product_metabox.php on line 15
- > PHP Notice
Trying to get property 'cart_items' of non-object in wp-content/plugins/multiple-carts-for-woo-free-by-wp-masters/templates/mail/remind_carts.php on line 88
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/multiple-carts-for-woo-free-by-wp-masters/templates/admin/supplier_product_metabox.php on line 15
- > PHP Notice
Undefined variable: cart in wp-content/plugins/multiple-carts-for-woo-free-by-wp-masters/templates/mail/remind_carts.php on line 88
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/multiple-carts-for-woo-free-by-wp-masters/templates/admin/create_order_metabox.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: Please a description for screenshot #7 in multiple-carts-for-woo-free-by-wp-masters/assets to your readme.txt
multiple-carts-for-woo-free-by-wp-masters/wpm-multicart.php 69% from 13 tests
The entry point to "Multiple Carts, Persistent Carts, Abandoned Carts, MultiVendors for Woo - Free by WP Masters" version 1.0.2 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Plugin Name: Keep the plugin name shorter than 70 characters (currently 92 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("multiple-carts-for-woo-free-by-wp-masters.php" instead of "wpm-multicart.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 170 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected11,668 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 0 | 9,552 |
PHP | 8 | 159 | 209 | 1,147 |
CSS | 3 | 162 | 5 | 917 |
JavaScript | 3 | 7 | 4 | 52 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 69.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 135.00 |
Average method complexity | 5.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.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 | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 32 | 96.97% |
▷ Protected methods | 1 | 3.03% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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