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 did not install without errors
- > Warning in wp-includes/class-wp-hook.php+303
call_user_func_array() expects parameter 1 to be a valid callback, function 'activate_whatsapp_chat_multi_agent' not found or invalid function name
Server metrics [RAM: ▼0.09MB] [CPU: ▼166.48ms] Passed 4 tests
A check of server-side resources used by Ace Social Chat
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.02 | 15.97 ▼11.43 |
Dashboard /wp-admin | 3.03 ▼0.03 | 23.93 ▼21.78 |
Posts /wp-admin/edit.php | 3.09 ▼0.01 | 23.17 ▼11.44 |
Add New Post /wp-admin/post-new.php | 5.10 ▼0.33 | 62.26 ▼621.25 |
Media Library /wp-admin/upload.php | 3.06 ▲0.06 | 19.57 ▼5.46 |
All Agents /wp-admin/edit.php?post_type=ace_whatsapp_agent | 3.08 | 21.28 |
Setting /wp-admin/edit.php?post_type=ace_whatsapp_agent&page=ace_whatsapp_style | 3.02 | 19.03 |
Add Agent /wp-admin/post-new.php?post_type=ace_whatsapp_agent | 3.14 | 31.92 |
Server storage [IO: ▲0.65MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 1 new option
New WordPress options |
---|
awm_users_sortable_ |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ace Social Chat
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,778 ▲127 | 15.56 ▼0.07 | 7.35 ▼1.56 | 139.87 ▲62.36 |
Dashboard /wp-admin | 2,979 ▲84 | 5.96 ▼0.21 | 118.08 ▼20.61 | 73.02 ▼98.70 |
Posts /wp-admin/edit.php | 2,787 ▲47 | 3.22 ▲0.00 | 65.52 ▲2.73 | 71.80 ▼65.38 |
Add New Post /wp-admin/post-new.php | 3,685 ▼14 | 19.13 ▲0.59 | 461.50 ▲23.61 | 121.67 ▼41.82 |
Media Library /wp-admin/upload.php | 1,795 ▲40 | 5.48 ▼0.05 | 142.58 ▲2.55 | 138.46 ▼45.90 |
All Agents /wp-admin/edit.php?post_type=ace_whatsapp_agent | 1,495 | 3.09 | 59.87 | 56.31 |
Setting /wp-admin/edit.php?post_type=ace_whatsapp_agent&page=ace_whatsapp_style | 1,466 | 2.36 | 54.97 | 84.29 |
Add Agent /wp-admin/post-new.php?post_type=ace_whatsapp_agent | 4,642 | 5.46 | 99.72 | 68.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin cannot be uninstalled
- > Warning in wp-includes/class-wp-hook.php+303
call_user_func_array() expects parameter 1 to be a valid callback, function 'deactivate_whatsapp_chat_multi_agent' not found or invalid function name
- This plugin did not uninstall successfully, leaving 1 option in the database
- awm_users_sortable_
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=ace_whatsapp_agent
- > Warning in wp-includes/class-wp-hook.php+303
call_user_func_array() expects parameter 1 to be a valid callback, class 'ace_social_chat_multi_Admin' does not have a method 'enqueue_scripts'
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=ace_whatsapp_agent&page=ace_whatsapp_style
- > Notice in wp-content/plugins/ace-social-chat/admin/partials/whatsapp-chat-multi-agent-admin-settings.php+65
Trying to access array offset on value of type bool
SRP 0% 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 take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/ace-social-chat/admin/partials/whatsapp-chat-multi-agent-admin-display.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ace-social-chat/public/partials/whatsapp_member_width.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ace-social-chat/admin/partials/whatsapp-chat-multi-agent-admin-settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ace-social-chat/public/partials/whatsapp-chat-multi-agent-public-display.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ace-social-chat/admin/class-whatsapp-chat-multi-agent-admin.php:449
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/edit.php?post_type=ace_whatsapp_agent&page=ace_whatsapp_style
- > Rendering (warning) in unknown
/wp-admin/edit.php?post_type=ace_whatsapp_agent&page=ace_whatsapp_style 197 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/edit.php?post_type=ace_whatsapp_agent&page=ace_whatsapp_style
- > Rendering (warning) in unknown
/wp-admin/edit.php?post_type=ace_whatsapp_agent&page=ace_whatsapp_style 208 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (**Installation** - Search Ace Social Chat & Install Ace Social Chat Plugin.), #2 (**Activation** - Activate Ace Social Chat Plugin.), #3 (**Whatsapp Chat Menu** - Check Your Dashboard And here's your Whatsapp chat menu By Plugin.), #4 (**Add Agents** - Add Multiple Agents For your Website through Whatsapp Chat menu.), #5 (**Added Details** - Add All Details of Agents whose Whatsapp contact to be Shared for whatsapp chat.), #6 (**Settings** - Make Customization in settings according your requirements. Button Color, Background color, text colour, Display options, Woocommerce.), #7 (**Whatsapp on Page** - On your page whatsapp icon display, click on icon and see agent name and details with message.), #8 (**Whatsapp Web** - Login with Whatsapp and start Conversation.), #9 (**Shortcodes** - Also get shoctcodes of added Agents, that can applied in multiple section according to the requirements.)
ace-social-chat/ace-social-chat.php 85% from 13 tests
"Ace Social Chat" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Text Domain: Please use dashes and lowercase characters for text domains
- Description: Please keep the plugin description shorter than 140 characters (currently 166 characters long)
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
No dangerous file extensions were detected1,929 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 157 | 43 | 1,096 |
PHP | 14 | 237 | 543 | 825 |
JavaScript | 2 | 4 | 29 | 8 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 11.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 3.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 2 | 5.71% |
▷ Public methods | 30 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 14.29% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.53MB with 0.26MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/mOnline.png | 2.06KB | 1.03KB | ▼ 49.93% |
admin/images/mOnline.png | 2.06KB | 1.03KB | ▼ 49.93% |
public/images/whatsapp-bkg.png | 534.52KB | 277.49KB | ▼ 48.09% |