Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼6.15ms] Passed 4 tests
Server-side resources used by WCFM and WC Marketplace - The Courier Guy Shipping for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.20 ▼0.08 |
Dashboard /wp-admin | 3.31 ▼0.04 | 53.74 ▼9.41 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.32 ▼0.84 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.05 ▼14.25 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.75 ▲1.71 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WCFM and WC Marketplace - The Courier Guy Shipping for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲43 | 14.35 ▲0.11 | 1.87 ▼0.03 | 41.94 ▲1.25 |
Dashboard /wp-admin | 2,192 ▲12 | 5.52 ▼0.14 | 83.01 ▼10.28 | 38.45 ▼6.29 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▲0.02 | 38.47 ▲2.89 | 37.65 ▼0.59 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.57 ▼0.14 | 697.50 ▲22.09 | 53.85 ▲1.41 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.18 ▲0.02 | 98.61 ▼13.83 | 44.05 ▼1.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WCFM_Fields' not found in wp-content/plugins/wp-multi-vendor-marketplace-the-courier-guy-shipping-for-woocommerce/class-the-courier-guy-wcfm-fields.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Contributors: Contributors not specified
wp-multi-vendor-marketplace-the-courier-guy-shipping-for-woocommerce/wc-multivendor-marketplace-thecourierguy-extension.php 77% from 13 tests
"WCFM and WC Marketplace - The Courier Guy Shipping for WooCommerce" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-multi-vendor-marketplace-the-courier-guy-shipping-for-woocommerce.php" instead of "wc-multivendor-marketplace-thecourierguy-extension.php")
- Description: Keep the plugin description shorter than 140 characters (currently 152 characters long)
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected204 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 19 | 40 | 204 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 84.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 15.38% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There were not PNG files found in your plugin