78% business-chat-room-2connectme

Code Review | Video Live Chat with Screen Share & Stripe Payment

WordPress plugin Video Live Chat with Screen Share & Stripe Payment scored78%from 54 tests.

About plugin

  • Plugin page: business-chat-roo...
  • Plugin version: 1.6.9
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-6.3
  • WordPress version: 6.3.1
  • First release: May 9, 2017
  • Latest release: Aug 16, 2023
  • Number of updates: 115
  • Update frequency: every 19.9 days
  • Top authors: ksman (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /5,562 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.09MB] [CPU: ▼13.32ms] Passed 4 tests

This is a short check of server-side resources used by Video Live Chat with Screen Share & Stripe Payment
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0225.98 ▼16.75
Dashboard /wp-admin3.42 ▲0.0847.17 ▼19.37
Posts /wp-admin/edit.php3.54 ▲0.1848.94 ▼3.77
Add New Post /wp-admin/post-new.php6.02 ▲0.1485.04 ▼13.38
Media Library /wp-admin/upload.php3.35 ▲0.1236.93 ▲0.33
Business Chat Room - 2ConnectMe /wp-admin/options-general.php?page=live-chat-2connectme-elements-settings3.2930.95

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-comments
livechat_2connectme_elements_options9
theysaidso_admin_options
db_upgraded
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

Video Live Chat with Screen Share & Stripe Payment: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,092 ▲30614.39 ▼0.0222.87 ▲20.8052.32 ▲10.11
Dashboard /wp-admin2,221 ▲445.99 ▲0.3494.63 ▼1.9436.59 ▼8.21
Posts /wp-admin/edit.php2,128 ▲282.29 ▲0.3041.04 ▲4.7734.63 ▲1.05
Add New Post /wp-admin/post-new.php1,552 ▲2423.30 ▲0.28683.48 ▲3.3236.80 ▼19.72
Media Library /wp-admin/upload.php1,426 ▲294.38 ▲0.24100.07 ▼3.7843.74 ▲0.03
Business Chat Room - 2ConnectMe /wp-admin/options-general.php?page=live-chat-2connectme-elements-settings1,3842.5352.6433.73

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
    • > GET request to /wp-admin/options-general.php?page=live-chat-2connectme-elements-settings
    • > User deprecated in wp-includes/functions.php+5463
    Function screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/options-general.php?page=live-chat-2connectme-elements-settings
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/business-chat-room-2connectme/business-chat-room-2connectme.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
  • Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
You can look at the official readme.txt

business-chat-room-2connectme/business-chat-room-2connectme.php 92% from 13 tests

The primary PHP file in "Video Live Chat with Screen Share & Stripe Payment" version 1.6.9 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
  • Domain Path: The domain path points to a folder that does not exist ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected771 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP213139767
JavaScript2004

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.57
Average class complexity50.00
▷ Minimum class complexity50.00
▷ Maximum class complexity50.00
Average method complexity3.45
▷ Minimum method complexity1.00
▷ Maximum method complexity17.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods20
▷ Static methods00.00%
▷ Public methods20100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
17 compressed PNG files occupy 0.25MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
img/mail.png1.43KB1.63KB0.00%
img/chat-large.png1.18KB1.22KB0.00%
img/chat-medium.png0.87KB0.86KB▼ 0.79%
img/phone.png0.72KB0.79KB0.00%
img/video-large.png1.71KB1.40KB▼ 18.17%