Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.79MB] [CPU: ▼180.44ms] Passed 4 tests
This is a short check of server-side resources used by Whatso - WhatsApp Abandoned Cart Recovery for WooCommerce - Order Success Notifications - Click to Chat
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.70 | 32.87 ▲7.77 |
Dashboard /wp-admin | 3.91 ▲0.84 | 37.44 ▼6.81 |
Posts /wp-admin/edit.php | 3.95 ▲0.83 | 39.56 ▲1.44 |
Add New Post /wp-admin/post-new.php | 6.44 ▲1.00 | 70.07 ▼717.13 |
Media Library /wp-admin/upload.php | 3.80 ▲0.79 | 28.97 ▲0.73 |
/wp-admin/admin.php?page=whatso_settings | 3.86 | 27.27 |
/wp-admin/admin.php?page=whatso_floating_quick_setup | 3.92 | 29.82 |
Settings /wp-admin/admin.php?page=whatso_admin_settings | 3.82 | 28.62 |
/wp-admin/admin.php?page=whatso_ac_setup1 | 3.82 | 29.63 |
Click to Chat /wp-admin/admin.php?page=whatso_floating_ctc_setup | 3.86 | 26.49 |
/wp-admin/edit.php?post_type=whatso_accounts | 3.83 | 29.53 |
Order Notification Setup /wp-admin/admin.php?page=whatso_notifications_setup | 3.82 | 27.93 |
/wp-admin/admin.php?page=whatso_floating_widget | 3.87 | 30.41 |
/wp-admin/admin.php?page=whatso_ac_dashboard | 3.74 | 27.85 |
/wp-admin/admin.php?page=whatso_woocommerce_button | 3.87 | 29.43 |
Server storage [IO: ▲1.22MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 90 new files
Database: 2 new tables, 3 new options
New tables |
---|
wp_whatso_order_notification |
wp_whatso_abandoned_cart |
New WordPress options |
---|
ac_counter |
whatso_user_settings |
whatso_settings |
Browser metrics Passed 4 tests
Whatso - WhatsApp Abandoned Cart Recovery for WooCommerce - Order Success Notifications - Click to Chat: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,905 ▲304 | 15.95 ▼0.02 | 11.22 ▲2.74 | 76.30 ▼1.17 |
Dashboard /wp-admin | 2,988 ▲89 | 6.12 ▼0.04 | 115.21 ▼31.24 | 176.89 ▼1.32 |
Posts /wp-admin/edit.php | 2,801 ▲58 | 3.11 ▼0.12 | 66.23 ▲0.68 | 124.45 ▼18.80 |
Add New Post /wp-admin/post-new.php | 3,858 ▲43 | 19.13 ▼0.04 | 437.28 ▲26.65 | 166.90 ▲4.42 |
Media Library /wp-admin/upload.php | 1,809 ▲60 | 5.65 ▲0.14 | 123.51 ▼15.85 | 192.25 ▲4.35 |
/wp-admin/admin.php?page=whatso_settings | 1,893 | 6.72 | 103.80 | 80.09 |
/wp-admin/admin.php?page=whatso_floating_quick_setup | 1,919 | 6.44 | 93.38 | 55.10 |
Settings /wp-admin/admin.php?page=whatso_admin_settings | 1,693 | 5.97 | 90.44 | 57.48 |
/wp-admin/admin.php?page=whatso_ac_setup1 | 1,687 | 6.06 | 85.05 | 36.70 |
Click to Chat /wp-admin/admin.php?page=whatso_floating_ctc_setup | 1,708 | 6.01 | 85.62 | 82.82 |
/wp-admin/edit.php?post_type=whatso_accounts | 1,516 | 2.96 | 61.43 | 98.46 |
Order Notification Setup /wp-admin/admin.php?page=whatso_notifications_setup | 1,684 | 5.95 | 84.58 | 56.35 |
/wp-admin/admin.php?page=whatso_floating_widget | 1,585 | 5.93 | 84.85 | 56.81 |
/wp-admin/admin.php?page=whatso_ac_dashboard | 1,140 | 2.47 | 50.22 | 115.39 |
/wp-admin/admin.php?page=whatso_woocommerce_button | 1,712 | 6.29 | 85.25 | 61.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 1 option
- ac_counter
Smoke tests 25% 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
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=whatso_notifications_setup
- > Notice in wp-content/plugins/click-to-chat-whatso/view/ac_setup1.php+4
Trying to get property 'whatso_email' of non-object
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=whatso_notifications_setup
- > Notice in wp-content/plugins/click-to-chat-whatso/view/ac_setup1.php+148
Undefined variable: whatso_username
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=whatso_notifications_setup
- > Notice in wp-content/plugins/click-to-chat-whatso/view/ac_setup1.php+158
Undefined variable: whatso_password
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/click-to-chat-whatso/view/floating_ctc_setup.php
- 30× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WHATSO_Utils' not found in wp-content/plugins/click-to-chat-whatso/view/floating_widget_display_settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/click-to-chat-whatso/view/ac_dashboard.php:16
- > PHP Fatal error
Uncaught Error: Class 'WHATSO_Utils' not found in wp-content/plugins/click-to-chat-whatso/controller/ac_dashboard.php:2
- > PHP Fatal error
Uncaught Error: Class 'WHATSO_Utils' not found in wp-content/plugins/click-to-chat-whatso/controller/woocommerce_button.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/click-to-chat-whatso/controller/ac_dashboard_display.php:3
- > PHP Fatal error
Uncaught Error: Class 'WHATSO_Utils' not found in wp-content/plugins/click-to-chat-whatso/controller/ac_setup2.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/click-to-chat-whatso/view/ac_setup1.php:2
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/click-to-chat-whatso/view/abandoned_cart.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/click-to-chat-whatso/view/ac_dashboard.php:16
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/click-to-chat-whatso/view/abandoned_cart.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Screenshot #1 (Click to Chat - Whatso - Dashboard) image missing
click-to-chat-whatso/whatso.php 77% from 13 tests
The principal PHP file in "Whatso - WhatsApp Abandoned Cart Recovery for WooCommerce - Order Success Notifications - Click to Chat" v. 4.1 is loaded by WordPress automatically on each request
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Plugin Name: Please don't use more than 70 characters for the plugin name (currently 103 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("click-to-chat-whatso.php" instead of "whatso.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected11,425 lines of code in 66 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 56 | 1,426 | 432 | 8,035 |
CSS | 5 | 336 | 105 | 2,128 |
JavaScript | 4 | 269 | 155 | 853 |
PO File | 1 | 172 | 194 | 409 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 55.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 352.00 |
Average method complexity | 8.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 99.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 89 | |
▷ Static methods | 15 | 16.85% |
▷ Public methods | 87 | 97.75% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 2.25% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
8 PNG files occupy 0.09MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/jquery.minicolors.png | 67.02KB | 34.31KB | ▼ 48.80% |
assets/images/avtar.png | 11.19KB | 4.14KB | ▼ 63.03% |
assets/images/whatso-new-logo.png | 0.64KB | 0.62KB | ▼ 4.10% |
assets/images/logo-white-small.png | 0.90KB | 1.24KB | 0.00% |
assets/images/logo-group.png | 1.58KB | 1.41KB | ▼ 10.52% |