WordPress plugin Live Chat scored78%from 54 tests.

About plugin

  • Plugin page: live-support-chat...
  • Plugin version: 4.8.1
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Oct 25, 2014
  • Latest release: Oct 27, 2017
  • Number of updates: 29
  • Update frequency: every 37.9 days
  • Top authors: imsupporting (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,567 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0742.72 ▼5.01
Dashboard /wp-admin3.37 ▲0.0349.43 ▼16.52
Posts /wp-admin/edit.php3.42 ▲0.0748.73 ▲1.22
Add New Post /wp-admin/post-new.php5.95 ▲0.0783.85 ▼17.46
Media Library /wp-admin/upload.php3.29 ▲0.0740.71 ▲4.70
IMsupporting Chat /wp-admin/options-general.php?page=imsupportingchat3.2432.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,831 ▲7014.25 ▼0.104.52 ▲2.6143.36 ▲0.52
Dashboard /wp-admin2,199 ▲255.57 ▼0.1084.41 ▼7.3436.75 ▼6.64
Posts /wp-admin/edit.php2,104 ▲42.01 ▲0.0635.08 ▼1.8634.66 ▼3.98
Add New Post /wp-admin/post-new.php1,541 ▲1523.21 ▲0.12687.04 ▲19.2757.71 ▼5.11
Media Library /wp-admin/upload.php1,404 ▲44.20 ▲0.03111.31 ▲0.5746.57 ▼1.60
IMsupporting Chat /wp-admin/options-general.php?page=imsupportingchat1,2871.7125.9157.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

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)
Please take inspiration from this readme.txt

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:
LanguageFilesBlank linesComment linesLines of code
PHP37866543

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 code0.24
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
FileSize - originalSize - compressedSavings
step2.png35.36KB1.56KB▼ 95.60%
banner-772x250.png674.95KB84.46KB▼ 87.49%
free3month.png86.06KB12.75KB▼ 85.19%
howto.png229.32KB52.28KB▼ 77.20%
step3.png35.18KB1.28KB▼ 96.36%