Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.78ms] Passed 4 tests
This is a short check of server-side resources used by Order Chat for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 43.63 ▼4.42 |
Dashboard /wp-admin | 3.35 ▲0.00 | 54.45 ▼9.56 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 53.13 ▲0.21 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 109.67 ▲8.79 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.25 ▲2.66 |
Woo Orders WhatsApp /wp-admin/options-general.php?page=settings-icons-chat | 3.22 | 32.12 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Order Chat for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲41 | 14.70 ▲0.15 | 1.76 ▼0.31 | 44.31 ▼0.78 |
Dashboard /wp-admin | 2,218 ▲41 | 5.84 ▲0.19 | 91.49 ▼7.66 | 41.41 ▼0.57 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.31 ▲0.28 | 41.31 ▲3.08 | 34.05 ▲0.45 |
Add New Post /wp-admin/post-new.php | 1,543 ▲18 | 23.06 ▼0.07 | 672.30 ▼1.91 | 37.73 ▼32.64 |
Media Library /wp-admin/upload.php | 1,423 ▲26 | 4.50 ▲0.30 | 105.16 ▼0.60 | 44.78 ▲1.82 |
Woo Orders WhatsApp /wp-admin/options-general.php?page=settings-icons-chat | 993 | 2.35 | 46.15 | 29.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 6 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=settings-icons-chat
- > Notice in wp-content/plugins/chat-orders-for-woo/order-woo-chat.php+116
Trying to access array offset on value of type bool
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: whatsapp, cart woocommerce, woocommerce, orders woocommerce
chat-orders-for-woo/order-woo-chat.php 92% from 13 tests
Analyzing the main PHP file in "Order Chat for WooCommerce" version 1.0
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("chat-orders-for-woo.php" instead of "order-woo-chat.php")
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
Good job! No executable or dangerous file extensions detected182 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 36 | 15 | 176 |
JavaScript | 1 | 0 | 1 | 5 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected