Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.31ms] Passed 4 tests
This is a short check of server-side resources used by Multi Order for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.09 ▼2.00 |
Dashboard /wp-admin | 3.31 ▲0.01 | 42.79 ▼10.52 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.99 ▼1.94 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 84.78 ▼11.39 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 31.08 ▼5.31 |
Server storage [IO: ▲3.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 388 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Multi Order for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.31 ▼1.06 | 1.63 ▼0.62 | 43.67 ▼4.92 |
Dashboard /wp-admin | 2,206 ▲18 | 4.86 ▼0.05 | 102.60 ▼11.88 | 37.83 ▼8.52 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▲0.00 | 34.18 ▼2.39 | 34.04 ▲0.31 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.15 ▲5.55 | 670.34 ▼22.50 | 57.89 ▼1.88 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.20 ▼0.08 | 92.97 ▼9.24 | 43.52 ▼3.75 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
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
The smoke test was a success, however most plugin functionality was not tested
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
- 43× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/multi-order-for-woocommerce/vendor/CMB2/CMB2/includes/CMB2.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function cmb2_dir() in wp-content/plugins/multi-order-for-woocommerce/vendor/CMB2/CMB2/includes/rest-api/CMB2_REST_Controller.php:4
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/multi-order-for-woocommerce/vendor/CMB2/CMB2/includes/types/CMB2_Type_Textarea_Code.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/multi-order-for-woocommerce/vendor/CMB2/CMB2/includes/types/CMB2_Type_Wysiwyg.php:16
- > PHP Fatal error
Uncaught Error: Class 'CMB2_REST_Controller' not found in wp-content/plugins/multi-order-for-woocommerce/vendor/CMB2/CMB2/includes/rest-api/CMB2_REST_Controller_Boxes.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Counter_Base' not found in wp-content/plugins/multi-order-for-woocommerce/vendor/CMB2/CMB2/includes/types/CMB2_Type_Text.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_Background_Process' not found in wp-content/plugins/multi-order-for-woocommerce/classes/multiorder/class-alg-mowc-order-pay-status-bkg-process.php:12
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup_Base' not found in wp-content/plugins/multi-order-for-woocommerce/vendor/CMB2/CMB2/includes/rest-api/CMB2_REST.php:19
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Radio' not found in wp-content/plugins/multi-order-for-woocommerce/vendor/CMB2/CMB2/includes/types/CMB2_Type_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup_Base' not found in wp-content/plugins/multi-order-for-woocommerce/vendor/CMB2/CMB2/includes/CMB2_Hookup.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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 need to be fixed:
- Screenshots: Screenshot #1 (Plugin's settings (WooCommerce > Settings > Multi Order)) image not found
multi-order-for-woocommerce/multi-order-for-woocommerce.php 92% from 13 tests
"Multi Order for WooCommerce" version 1.5.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
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")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin48,663 lines of code in 240 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 121 | 14,384 | 18,584 | 32,485 |
PHP | 79 | 2,525 | 7,727 | 8,677 |
CSS | 14 | 251 | 1,190 | 4,563 |
JavaScript | 9 | 379 | 593 | 1,527 |
Sass | 17 | 306 | 29 | 1,411 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 17.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 3.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 89 | |
▷ Abstract classes | 9 | 10.11% |
▷ Concrete classes | 80 | 89.89% |
▷ Final classes | 0 | 0.00% |
Methods | 656 | |
▷ Static methods | 97 | 14.79% |
▷ Public methods | 557 | 84.91% |
▷ Protected methods | 95 | 14.48% |
▷ Private methods | 4 | 0.61% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 39 | |
▷ Global constants | 3 | 7.69% |
▷ Class constants | 36 | 92.31% |
▷ Public constants | 36 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/CMB2/CMB2/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
vendor/CMB2/CMB2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
vendor/CMB2/CMB2/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
vendor/CMB2/CMB2/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
vendor/CMB2/CMB2/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |