Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼9.44ms] Passed 4 tests
A check of server-side resources used by Live Chat
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 42.72 ▼5.01 |
Dashboard /wp-admin | 3.37 ▲0.03 | 49.43 ▼16.52 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 48.73 ▲1.22 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 83.85 ▼17.46 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 40.71 ▲4.70 |
IMsupporting Chat /wp-admin/options-general.php?page=imsupportingchat | 3.24 | 32.80 |
Server storage [IO: ▲1.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 23 new options
New WordPress options |
---|
ims_popuptime |
ims_popupwidth |
widget_theysaidso_widget |
ims_imageid |
can_compress_scripts |
ims_siteid |
ims_password |
ims_popuptop |
db_upgraded |
ims_position |
... |
Browser metrics Passed 4 tests
Live Chat: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲70 | 14.25 ▼0.10 | 4.52 ▲2.61 | 43.36 ▲0.52 |
Dashboard /wp-admin | 2,199 ▲25 | 5.57 ▼0.10 | 84.41 ▼7.34 | 36.75 ▼6.64 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.06 | 35.08 ▼1.86 | 34.66 ▼3.98 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 23.21 ▲0.12 | 687.04 ▲19.27 | 57.71 ▼5.11 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.20 ▲0.03 | 111.31 ▲0.57 | 46.57 ▼1.60 |
IMsupporting Chat /wp-admin/options-general.php?page=imsupportingchat | 1,287 | 1.71 | 25.91 | 57.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% 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
- > GET request to /wp-admin/options-general.php?page=imsupportingchat
- > Notice in wp-content/plugins/live-support-chat-for-business-websites/imsupporting-admin.php+300
Undefined variable: adddetails
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/live-support-chat-for-business-websites/imsupporting-admin.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/live-support-chat-for-business-websites/imsupporting-live-chat-plugin.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/live-support-chat-for-business-websites/imsupporting-screen-display.php:3
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (The Main Chat System), #2 (Chat Button Example), #3 (Easy to use Dashboard), #4 (Easy to install wordpress script), #5 (A chat button example.), #6 (Different chat buttons to choose from)
live-support-chat-for-business-websites/imsupporting-live-chat-plugin.php 92% from 13 tests
This is the main PHP file of "Live Chat" version 4.8.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("live-support-chat-for-business-websites.php" instead of "imsupporting-live-chat-plugin.php")
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
There were no executable files found in this plugin543 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 78 | 66 | 543 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 6 | |
▷ Named functions | 6 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 1.07MB with 0.95MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
step2.png | 35.36KB | 1.56KB | ▼ 95.60% |
banner-772x250.png | 674.95KB | 84.46KB | ▼ 87.49% |
free3month.png | 86.06KB | 12.75KB | ▼ 85.19% |
howto.png | 229.32KB | 52.28KB | ▼ 77.20% |
step3.png | 35.18KB | 1.28KB | ▼ 96.36% |