Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲2.10MB] [CPU: ▲15.64ms] Passed 4 tests
Server-side resources used by MarketKing — Ultimate WooCommerce Multivendor Marketplace Solution
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.40 ▲1.93 | 58.16 ▲17.44 |
Dashboard /wp-admin | 5.49 ▲2.18 | 65.54 ▲17.06 |
Posts /wp-admin/edit.php | 5.52 ▲2.17 | 67.39 ▲17.92 |
Add New Post /wp-admin/post-new.php | 8.08 ▲2.19 | 112.64 ▲10.14 |
Media Library /wp-admin/upload.php | 5.33 ▲2.10 | 51.76 ▲21.37 |
Server storage [IO: ▲16.21MB] [DB: ▲0.08MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 346 new files
Database: no new tables, 24 new options
New WordPress options |
---|
marketking_store_name_initial_field_id_setting |
marketking_first_time_setup |
marketking_stores_page_setting_initial |
marketking_composite_status_ran |
marketking_company_name_initial_field_id_setting |
marketking_store_url_initial_field_id_setting |
widget_recent-posts |
marketking_clear_hidden_products_time |
marketking_last_name_initial_field_id_setting |
marketking_rebuild_visibility_cache |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for MarketKing — Ultimate WooCommerce Multivendor Marketplace Solution
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲47 | 14.18 ▼0.17 | 1.76 ▲0.03 | 38.28 ▼6.10 |
Dashboard /wp-admin | 2,211 ▲40 | 5.62 ▼0.01 | 94.91 ▼5.38 | 42.66 ▼3.49 |
Posts /wp-admin/edit.php | 2,123 ▲23 | 2.00 ▲0.02 | 41.97 ▲3.58 | 36.84 ▼0.44 |
Add New Post /wp-admin/post-new.php | 1,540 ▲11 | 23.41 ▲0.29 | 622.84 ▲22.23 | 68.52 ▲17.42 |
Media Library /wp-admin/upload.php | 1,419 ▲22 | 4.22 ▲0.04 | 96.87 ▼0.89 | 40.96 ▲0.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 24 options in the database
- marketking_store_url_initial_field_id_setting
- db_upgraded
- marketking_first_time_setup
- marketking_vendordash_page_setting
- widget_recent-posts
- marketking_vendor_registration_page_setting_initial
- marketking_stores_page_setting_initial
- woocommerce_excluded_report_order_statuses
- marketking_rebuild_visibility_cache
- marketking_composite_status_ran
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
- 16× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function marketking() in wp-content/plugins/marketking-multivendor-marketplace-for-woocommerce/public/dashboard/dashboard-content.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function get_current_user_id() in wp-content/plugins/marketking-multivendor-marketplace-for-woocommerce/public/dashboard/templates/profile-sidebar.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function get_query_var() in wp-content/plugins/marketking-multivendor-marketplace-for-woocommerce/public/dashboard/marketking-dashboard.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/marketking-multivendor-marketplace-for-woocommerce/public/templates/stores-list.php:59
- > PHP Fatal error
Uncaught Error: Call to undefined function marketking() in wp-content/plugins/marketking-multivendor-marketplace-for-woocommerce/public/dashboard/edit-product.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/marketking-multivendor-marketplace-for-woocommerce/public/dashboard/orders.php:16
- > PHP Fatal error
Uncaught Error: Class 'WP_Comments_List_Table' not found in wp-content/plugins/marketking-multivendor-marketplace-for-woocommerce/admin/class-marketking-reviews-page.php:3
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/marketking-multivendor-marketplace-for-woocommerce/includes/elementor/classes.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function marketking() in wp-content/plugins/marketking-multivendor-marketplace-for-woocommerce/public/dashboard/products.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function marketking() in wp-content/plugins/marketking-multivendor-marketplace-for-woocommerce/public/dashboard/profile.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 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
These attributes need your attention:
- Screenshots: These screenshots need descriptions #555, #888, #999 in marketking-multivendor-marketplace-for-woocommerce/assets to your readme.txt
- Screenshots: Please add images for these screenshots: #10 (Vendor Dashboard Login Panel), #11 (Payouts Panel), #12 (Split Cart System)
marketking-multivendor-marketplace-for-woocommerce/marketking-core.php 85% from 13 tests
The primary PHP file in "MarketKing — Ultimate WooCommerce Multivendor Marketplace Solution" version 1.8.20 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("4.8" instead of "5.0.0")
- Main file name: Name the main plugin file the same as the plugin slug ("marketking-multivendor-marketplace-for-woocommerce.php" instead of "marketking-core.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin122,958 lines of code in 195 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 17 | 16,346 | 890 | 79,721 |
PHP | 65 | 5,854 | 2,208 | 25,391 |
JavaScript | 28 | 1,633 | 1,554 | 8,548 |
SVG | 25 | 21 | 17 | 4,261 |
PO File | 1 | 1,469 | 2,034 | 3,785 |
JSON | 58 | 114 | 0 | 1,248 |
Markdown | 1 | 3 | 0 | 4 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 82.79 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 600.00 |
Average method complexity | 4.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 64.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 29 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 29 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 537 | |
▷ Static methods | 142 | 26.44% |
▷ Public methods | 520 | 96.83% |
▷ Protected methods | 17 | 3.17% |
▷ Private methods | 0 | 0.00% |
Functions | 112 | |
▷ Named functions | 13 | 11.61% |
▷ Anonymous functions | 99 | 88.39% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
73 PNG files occupy 1.93MB with 0.57MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/assets/images/marketkinglogo9.png | 14.63KB | 7.71KB | ▼ 47.33% |
includes/assets/images/store_style_1.png | 104.91KB | 48.01KB | ▼ 54.24% |
includes/assets/images/module-stripe.png | 13.75KB | 14.72KB | 0.00% |
includes/assets/images/module-categories.png | 22.48KB | 23.95KB | 0.00% |
includes/assets/images/module-help1.png | 11.71KB | 6.29KB | ▼ 46.30% |