WordPress plugin Live Chat by User.com scored89%from 54 tests.

About plugin

  • Plugin page: userengage-live-c...
  • Plugin version: 1.3.5.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4.1-5.5.3
  • WordPress version: 6.3.1
  • First release: Mar 9, 2016
  • Latest release: Dec 3, 2020
  • Number of updates: 70
  • Update frequency: every 24.9 days
  • Top authors: userengage (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

300+ active /8,102 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼8.31ms] Passed 4 tests

An overview of server-side resources used by Live Chat by User.com
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.39 ▼0.0724.47 ▼20.29
Dashboard /wp-admin3.32 ▲0.0250.21 ▲4.26
Posts /wp-admin/edit.php3.37 ▲0.0147.90 ▲3.12
Add New Post /wp-admin/post-new.php5.90 ▲0.0183.76 ▼14.74
Media Library /wp-admin/upload.php3.24 ▲0.0134.54 ▼1.33

Server storage [IO: ▲0.06MB] [DB: ▲0.07MB] Passed 3 tests

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Live Chat by User.com
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,960 ▲21414.19 ▼0.2215.25 ▲13.4937.92 ▲0.90
Dashboard /wp-admin2,263 ▲754.81 ▼0.06112.41 ▲8.5244.03 ▲1.20
Posts /wp-admin/edit.php2,145 ▲562.06 ▲0.0538.26 ▲3.1234.35 ▲2.01
Add New Post /wp-admin/post-new.php1,555 ▲3523.27 ▼0.05599.22 ▼5.6050.74 ▼6.45
Media Library /wp-admin/upload.php1,445 ▲574.23 ▲0.06100.11 ▲2.8344.92 ▲3.02

Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes: The official readme.txt is a good inspiration

userengage-live-chat-marketing-automation-integration/userengage.php 85% from 13 tests

The principal PHP file in "Live Chat by User.com" v. 1.3.5.0 is loaded by WordPress automatically on each request
The following require your attention:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("userengage-live-chat-marketing-automation-integration.php" instead of "userengage.php")
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

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
Everything looks great! No dangerous files found in this plugin702 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
CSS1800426
PHP13821253
JavaScript12022
SVG1001

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.21
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.20
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods00.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin