Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/mycommerce360-for-woocommerce/helpers/helpers.php+191
Trying to access array offset on value of type null
Server metrics [RAM: ▼1.68MB] [CPU: ▲166.28ms] Passed 4 tests
A check of server-side resources used by MyCommerce360 - Intelligent Delivery Management System
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.27 ▼1.19 | 223.52 ▲184.45 |
Dashboard /wp-admin | 2.33 ▼0.97 | 234.97 ▲186.85 |
Posts /wp-admin/edit.php | 2.33 ▼1.02 | 230.42 ▲179.58 |
Add New Post /wp-admin/post-new.php | 2.33 ▼3.55 | 232.08 ▲129.31 |
Media Library /wp-admin/upload.php | 2.33 ▼0.90 | 204.67 ▲171.77 |
MyCommerce360 /wp-admin/admin.php?page=mc360 | 2.33 | 258.03 |
Server storage [IO: ▲0.90MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
recovery_mode_email_last_sent |
_apiagents |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for MyCommerce360 - Intelligent Delivery Management System
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲55 | 13.32 ▼1.06 | 1.69 ▲0.01 | 42.09 ▼2.79 |
Dashboard /wp-admin | 2,206 ▲18 | 5.79 ▼0.15 | 99.96 ▼6.02 | 40.49 ▲1.70 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.05 ▲0.05 | 38.02 ▼1.47 | 30.49 ▼7.18 |
Add New Post /wp-admin/post-new.php | 1,532 ▲4 | 21.13 ▲2.81 | 663.14 ▲31.78 | 55.29 ▼1.44 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▼0.09 | 103.38 ▲4.81 | 44.55 ▲0.61 |
MyCommerce360 /wp-admin/admin.php?page=mc360 | 798 | 1.14 | 7.72 | 26.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/mycommerce360-for-woocommerce/helpers/helpers.php+191
Trying to access array offset on value of type null
- Zombie WordPress options were found after uninstall: 8 options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- _apiagents
- recovery_mode_email_last_sent
- widget_recent-comments
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mc360
- > Notice in wp-content/plugins/mycommerce360-for-woocommerce/helpers/helpers.php+191
Trying to access array offset on value of type null
- > GET request to /wp-admin/admin.php?page=mc360
- > Error in wp-content/plugins/mycommerce360-for-woocommerce/configurations/configurations.php+1317
Uncaught Error: Call to undefined function wc_get_order_statuses() in wp-content/plugins/mycommerce360-for-woocommerce/configurations/configurations.php:1317
Stack trace:
#0 wp-admin/includes/template.php(1824): mc360_display_order_status_form_element()
#1 wp-admin/includes/template.php(1778): do_settings_fields()
#2 wp-content/plugins/mycommerce360-for-woocommerce/configurations/configurations.php(225): do_settings_sections()
#3 wp-includes/class-wp-hook.php(310): mc360_options_page()
#4 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#5 wp-includes/plugin.php(517): WP_Hook->do_action()
#6 wp-admin/admin.php(259): do_action()
#7 {main}
thrown
SRP 0% 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 perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/mycommerce360-for-woocommerce/configurations/configurations.php
- 10× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mycommerce360-for-woocommerce/classes/Commonfunctions.php:669
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mycommerce360-for-woocommerce/classes/Commonfunctions.php:669
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mycommerce360-for-woocommerce/classes/Commonfunctions.php:669
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/mycommerce360-for-woocommerce/MC360.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mycommerce360-for-woocommerce/classes/Commonfunctions.php:669
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mycommerce360-for-woocommerce/classes/Commonfunctions.php:669
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mycommerce360-for-woocommerce/classes/Commonfunctions.php:669
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mycommerce360-for-woocommerce/classes/Commonfunctions.php:669
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mycommerce360-for-woocommerce/classes/Commonfunctions.php:669
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mycommerce360-for-woocommerce/classes/Commonfunctions.php:669
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
8 plugin tags: plugin, shipping, mycommerce360, udleveringssted, freigt...
mycommerce360-for-woocommerce/MC360.php 85% from 13 tests
This is the main PHP file of "MyCommerce360 - Intelligent Delivery Management System" version 1.0.47, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("mycommerce360-for-woocommerce.php" instead of "MC360.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin5,096 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 1,900 | 271 | 2,517 |
CSS | 3 | 2 | 41 | 1,314 |
JavaScript | 2 | 279 | 137 | 1,117 |
PO File | 1 | 57 | 73 | 148 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 11.33 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 3.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 44 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 87 | |
▷ Named functions | 87 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 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
4 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/check_icon1.png | 2.86KB | 0.19KB | ▼ 93.38% |
assets/img/arrow_img.png | 2.79KB | 0.16KB | ▼ 94.23% |
configurations/arrow_img.png | 2.78KB | 0.16KB | ▼ 94.31% |
assets/css/check_icon2n.png | 3.12KB | 0.45KB | ▼ 85.69% |