84% livesupporti

Code Review | Free Live Chat Support

WordPress plugin Free Live Chat Support scored84%from 54 tests.

About plugin

  • Plugin page: livesupporti
  • Plugin version: 1.0.12
  • PHP version: 7.4.16
  • WordPress compatibility: 2.9.0-6.3
  • WordPress version: 6.3.1
  • First release: Aug 11, 2013
  • Latest release: Sep 10, 2023
  • Number of updates: 587
  • Update frequency: every 6.3 days
  • Top authors: LiveSupporti (100%)

Code review

54 tests

User reviews

27 reviews

Install metrics

1,000+ active /76,825 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
This plugin's installer ran successfully

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

A check of server-side resources used by Free Live Chat Support
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0043.77 ▲4.58
Dashboard /wp-admin3.31 ▲0.0150.79 ▲1.20
Posts /wp-admin/edit.php3.36 ▲0.0149.00 ▼6.27
Add New Post /wp-admin/post-new.php5.89 ▲0.0198.70 ▼5.69
Media Library /wp-admin/upload.php3.23 ▲0.0138.73 ▲0.80

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_theysaidso_widget
db_upgraded
widget_recent-posts
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Free Live Chat Support
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,794 ▲3314.38 ▲0.191.97 ▲0.1037.40 ▼9.49
Dashboard /wp-admin2,213 ▲365.57 ▼0.1080.40 ▼6.4685.04 ▲41.32
Posts /wp-admin/edit.php2,121 ▲212.00 ▲0.0339.53 ▼1.3234.31 ▼3.17
Add New Post /wp-admin/post-new.php1,539 ▼1523.56 ▲5.08732.46 ▲93.5652.49 ▲1.04
Media Library /wp-admin/upload.php1,418 ▲154.16 ▼0.0597.90 ▼8.5568.21 ▲21.94

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
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested

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 take a closer look at the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/livesupporti/livesupporti.php:27

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: free live chat, live chat, chat, livechat, online chat

livesupporti/livesupporti.php Passed 13 tests

The entry point to "Free Live Chat Support" version 1.0.12 is a PHP file that has certain tags in its header comment area
105 characters long description:
A plugin that allows to add live support chat on a WordPress website. To get started just click Activate.

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
No dangerous file extensions were detected238 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12724238

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.67
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%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
2 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
logo.png13.80KB5.10KB▼ 63.07%
wordpress-bg.png44.44KB24.19KB▼ 45.58%