Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.96ms] Passed 4 tests
An overview of server-side resources used by Order Sync with Zendesk for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.71 ▼2.12 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.20 ▼12.57 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.73 ▼5.07 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.07 ▼24.09 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.53 ▲3.87 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Order Sync with Zendesk for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.32 ▼0.04 | 1.74 ▼0.23 | 43.78 ▲0.89 |
Dashboard /wp-admin | 2,192 ▲21 | 5.57 ▲0.05 | 81.91 ▼2.19 | 38.13 ▼3.87 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.01 ▲0.04 | 33.98 ▼7.93 | 31.22 ▼6.10 |
Add New Post /wp-admin/post-new.php | 1,526 ▼17 | 23.47 ▲5.54 | 684.25 ▲85.05 | 69.45 ▲7.03 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.36 ▲0.19 | 93.04 ▼8.00 | 42.15 ▼1.45 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% 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)
Even though no errors were found, this is by no means an exhaustive test
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× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/mwb-zendesk-woo-order-sync/admin-templates/deactivation-screen.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function delete_option() in wp-content/plugins/mwb-zendesk-woo-order-sync/uninstall.php:8
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: zendesk, woocommerce, customer tickets, woocommerce orders, ecommerce
mwb-zendesk-woo-order-sync/mwb-zendesk-woo-order-sync.php 92% from 13 tests
The principal PHP file in "Order Sync with Zendesk for WooCommerce" v. 2.0.7 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected3,114 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 415 | 545 | 1,840 |
CSS | 3 | 106 | 10 | 814 |
JavaScript | 3 | 41 | 6 | 242 |
PO File | 1 | 90 | 92 | 198 |
SVG | 5 | 0 | 0 | 20 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 5 | 13.89% |
▷ Public methods | 34 | 94.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.56% |
Functions | 23 | |
▷ Named functions | 22 | 95.65% |
▷ Anonymous functions | 1 | 4.35% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/switch.png | 0.40KB | 0.41KB | 0.00% |