Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▲2.85ms] Passed 4 tests
An overview of server-side resources used by WCFM Marketplace - Best Multivendor Marketplace for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.11 | 40.85 ▼0.41 |
Dashboard /wp-admin | 3.38 ▲0.08 | 53.45 ▲2.34 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 52.45 ▲6.98 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 96.63 ▲2.48 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 45.33 ▲9.51 |
Server storage [IO: ▲7.12MB] [DB: ▲0.02MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 803 new files
Database: 17 new tables, 10 new options
New tables |
---|
wp_wcfm_marketplace_shipping_zone_methods |
wp_wcfm_marketplace_orders_meta |
wp_wcfm_marketplace_refund_request |
wp_wcfm_marketplace_product_multivendor |
wp_wcfm_marketplace_reviews_response_meta |
wp_wcfm_marketplace_reverse_withdrawal |
wp_wcfm_marketplace_shipping_zone_locations |
wp_wcfm_marketplace_withdraw_request |
wp_wcfm_marketplace_reviews_response |
wp_wcfm_marketplace_vendor_ledger |
... |
New WordPress options |
---|
wcfmmp_updated_3_3_10 |
theysaidso_admin_options |
wcfmmp_table_install |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
wcfmmp_installed |
db_upgraded |
wcfmmp_page_install |
Browser metrics Passed 4 tests
Checking browser requirements for WCFM Marketplace - Best Multivendor Marketplace for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲80 | 13.33 ▼0.94 | 1.57 ▼0.40 | 28.76 ▼15.51 |
Dashboard /wp-admin | 2,209 ▲21 | 4.91 ▼0.13 | 105.91 ▼7.70 | 79.53 ▲35.83 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.06 ▲0.05 | 41.93 ▲4.79 | 38.36 ▲2.35 |
Add New Post /wp-admin/post-new.php | 1,692 ▲164 | 24.44 ▲6.26 | 665.68 ▲21.87 | 57.24 ▼0.95 |
Media Library /wp-admin/upload.php | 1,397 ▲6 | 4.14 ▼0.09 | 96.83 ▼8.64 | 72.78 ▲29.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The plugin did not uninstall successfully, leaving 17 tables in the database
- wp_wcfm_marketplace_product_multivendor
- wp_wcfm_marketplace_vendor_ledger
- wp_wcfm_marketplace_withdraw_request_meta
- wp_wcfm_marketplace_shipping_zone_locations
- wp_wcfm_marketplace_orders_meta
- wp_wcfm_marketplace_reviews_response_meta
- wp_wcfm_marketplace_store_taxonomies
- wp_wcfm_marketplace_reviews
- wp_wcfm_marketplace_reverse_withdrawal_meta
- wp_wcfm_marketplace_refund_request
- ...
- The uninstall procedure has failed, leaving 9 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- wcfmmp_updated_3_3_10
- wcfmmp_table_install
- widget_theysaidso_widget
- wcfmmp_page_install
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 11× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/wc-multivendor-marketplace/includes/wirecard/vendor/rmccue/requests/examples/cookie_jar.php
- > /wp-content/plugins/wc-multivendor-marketplace/controllers/refund/wcfmmp-controller-refund-requests-actions.php
- > /wp-content/plugins/wc-multivendor-marketplace/includes/wirecard/vendor/rmccue/requests/examples/multiple.php
- > /wp-content/plugins/wc-multivendor-marketplace/includes/wirecard/vendor/rmccue/requests/examples/post.php
- > /wp-content/plugins/wc-multivendor-marketplace/includes/wirecard/vendor/rmccue/requests/bin/create_pear_package.php
- > /wp-content/plugins/wc-multivendor-marketplace/includes/Stripe/update_certs.php
- > /wp-content/plugins/wc-multivendor-marketplace/includes/wirecard/vendor/rmccue/requests/examples/get.php
- > /wp-content/plugins/wc-multivendor-marketplace/includes/wirecard/vendor/rmccue/requests/examples/basic-auth.php
- > /wp-content/plugins/wc-multivendor-marketplace/includes/Stripe/build.php
- > /wp-content/plugins/wc-multivendor-marketplace/includes/wirecard/vendor/rmccue/requests/examples/cookie.php
- 388× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'RequestsTest_Transport_Base' not found in wp-content/plugins/wc-multivendor-marketplace/includes/wirecard/vendor/rmccue/requests/tests/Transport/fsockopen.php:3
- > PHP Fatal error
Uncaught Error: Interface 'Stripe\\Exception\\ExceptionInterface' not found in wp-content/plugins/wc-multivendor-marketplace/includes/Stripe/lib/Exception/BadMethodCallException.php:5
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/wc-multivendor-marketplace/includes/Stripe/lib/Issuing/CardDetails.php:16
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/wc-multivendor-marketplace/includes/Stripe/lib/SourceTransaction.php:17
- > PHP Fatal error
Uncaught Requests_Exception: cURL error 28: Operation timed out after 2502 milliseconds with 0 bytes received in wp-content/plugins/wc-multivendor-marketplace/includes/wirecard/vendor/rmccue/requests/library/Requests/Transport/cURL.php:422
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception' not found in wp-content/plugins/wc-multivendor-marketplace/includes/wirecard/vendor/rmccue/requests/library/Requests/Exception/HTTP.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wc-multivendor-marketplace/includes/store-widgets/class-wcfmmp-widget-store-recent-articles.php:9
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/wc-multivendor-marketplace/includes/Stripe/lib/Service/TestHelpers/TestClockService.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wc-multivendor-marketplace/includes/store-widgets/class-wcfmmp-widget-store-top-products.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wc-multivendor-marketplace/views/shipping/wcfmmp-view-edit-method-popup.php:9
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: multivendor marketplace, multi seller, woocommerce marketplace, woocommerce product vendors, multi vendor
wc-multivendor-marketplace/wc-multivendor-marketplace.php 92% from 13 tests
The main file in "WCFM Marketplace - Best Multivendor Marketplace for WooCommerce" v. 3.6.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("4.4" instead of "3.0.0")
Code Analysis 3% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Please make sure to remedy the following
- Do not include executable or dangerous files in your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/wc-multivendor-marketplace/includes/Stripe/data/ca-certificates.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 573 | 11,730 | 24,459 | 50,080 |
PO File | 5 | 3,859 | 5,970 | 9,034 |
JavaScript | 44 | 925 | 1,101 | 5,268 |
CSS | 53 | 634 | 44 | 3,441 |
Markdown | 14 | 1,139 | 0 | 2,292 |
JSON | 47 | 0 | 0 | 307 |
SVG | 10 | 0 | 9 | 214 |
XML | 3 | 2 | 0 | 86 |
make | 1 | 10 | 0 | 29 |
YAML | 1 | 3 | 0 | 16 |
Bourne Shell | 2 | 4 | 0 | 12 |
Python | 1 | 1 | 0 | 4 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
These items need your attention
- Method cyclomatic complexity should be reduced to less than 100 (currently 115)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 15.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 751.00 |
Average method complexity | 3.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 115.00 |
Code structure | ||
---|---|---|
Namespaces | 44 | |
Interfaces | 14 | |
Traits | 9 | |
Classes | 471 | |
▷ Abstract classes | 14 | 2.97% |
▷ Concrete classes | 457 | 97.03% |
▷ Final classes | 0 | 0.00% |
Methods | 2,686 | |
▷ Static methods | 320 | 11.91% |
▷ Public methods | 2,491 | 92.74% |
▷ Protected methods | 125 | 4.65% |
▷ Private methods | 70 | 2.61% |
Functions | 94 | |
▷ Named functions | 74 | 78.72% |
▷ Anonymous functions | 20 | 21.28% |
Constants | 1,128 | |
▷ Global constants | 8 | 0.71% |
▷ Class constants | 1,120 | 99.29% |
▷ Public constants | 1,120 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
25 PNG files occupy 0.74MB with 0.32MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/list_arow1.png | 0.26KB | 0.16KB | ▼ 40.23% |
assets/images/wcfmmp_ico.png | 0.86KB | 0.63KB | ▼ 26.48% |
assets/images/sold_by_advanced.png | 8.29KB | 3.74KB | ▼ 54.94% |
assets/images/paypal.png | 4.40KB | 2.35KB | ▼ 46.60% |
assets/images/stripe.png | 5.26KB | 2.64KB | ▼ 49.80% |