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
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼0.94ms] Passed 4 tests
Analyzing server-side resources used by Ace Social Chat
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 38.48 ▼4.91 |
Dashboard /wp-admin | 3.34 ▲0.04 | 46.75 ▲0.24 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 47.32 ▼2.77 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 99.33 ▲3.69 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.22 ▲3.86 |
Add Agent /wp-admin/post-new.php?post_type=ace_whatsapp_agent | 3.37 | 47.51 |
Setting /wp-admin/edit.php?post_type=ace_whatsapp_agent&page=ace_whatsapp_style | 3.31 | 36.38 |
All Agents /wp-admin/edit.php?post_type=ace_whatsapp_agent | 3.31 | 36.53 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 27 new files
Database: no new tables, 9 new options
New WordPress options |
---|
awm_users_sortable_ |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
ace-whatsapp-setting-field-M |
widget_theysaidso_widget |
ace-social-default-status |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Ace Social Chat
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,965 ▲230 | 13.70 ▼0.66 | 4.93 ▲3.24 | 91.84 ▲44.78 |
Dashboard /wp-admin | 2,247 ▲61 | 4.90 ▼0.03 | 110.28 ▲0.64 | 43.79 ▲1.82 |
Posts /wp-admin/edit.php | 2,134 ▲45 | 2.23 ▲0.23 | 40.91 ▼0.72 | 35.06 ▼1.75 |
Add New Post /wp-admin/post-new.php | 1,559 ▲31 | 18.20 ▲0.00 | 610.75 ▼16.67 | 59.87 ▲9.61 |
Media Library /wp-admin/upload.php | 1,426 ▲35 | 4.21 ▲0.01 | 98.70 ▼0.76 | 41.58 ▼2.11 |
Add Agent /wp-admin/post-new.php?post_type=ace_whatsapp_agent | 3,826 | 3.76 | 74.21 | 40.13 |
Setting /wp-admin/edit.php?post_type=ace_whatsapp_agent&page=ace_whatsapp_style | 1,067 | 2.09 | 35.30 | 45.24 |
All Agents /wp-admin/edit.php?post_type=ace_whatsapp_agent | 1,113 | 2.19 | 35.40 | 30.10 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 9 options in the database
- ace-whatsapp-setting-field-M
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- awm_users_sortable_
- widget_theysaidso_widget
- ace-social-default-status
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > 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/ace-social-chat-admin-settings.php+61
Undefined variable: ace_whatsapp_txtbtn_color
SRP 50% 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 fix the following
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/ace-social-chat/admin/partials/ace-social-chat-admin-display.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ace-social-chat/public/partials/ace-social-chat-public-widget.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ace-social-chat/admin/partials/ace-social-chat-admin-settings.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ace-social-chat/public/partials/ace-social-chat-public-display.php:16
- > PHP Notice
Trying to get property 'ID' of non-object in wp-content/plugins/ace-social-chat/admin/partials/ace-social-chat-admin-display.php on line 16
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
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 187 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 198 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
- > Javascript (severe) in unknown
/wp-admin/edit.php?post_type=ace_whatsapp_agent&page=ace_whatsapp_style - Access to XMLHttpRequest at 'https://www.paypal.me/acewebx' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- > GET request to /wp-admin/edit.php?post_type=ace_whatsapp_agent&page=ace_whatsapp_style
- > Network (severe)
https://www.paypal.me/acewebx - Failed to load resource: net::ERR_FAILED
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots require images: #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 92% from 13 tests
This is the main PHP file of "Ace Social Chat" version 1.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 166 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin2,008 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 120 | 37 | 1,107 |
PHP | 14 | 193 | 537 | 893 |
JavaScript | 2 | 4 | 54 | 8 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 9.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.66 |
▷ 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 | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.52MB with 0.26MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/mOnline.png | 2.06KB | 1.03KB | ▼ 49.93% |
public/images/whatsapp-bkg.png | 534.52KB | 277.49KB | ▼ 48.09% |