88% business-chat-room-2connectme

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

WordPress plugin Video Live Chat with Screen Share & Stripe Payment scored 88% from 53 tests.

About plugin

  • Plugin page: business-chat-roo...
  • Plugin version: 1.6.6
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-5.8
  • WordPress version: 5.8.1
  • First release: May 9, 2017
  • Latest release: Sep 2, 2021
  • Number of updates: 110
  • Update frequency: every 14.4 days
  • Top authors: ksman (100%)

Code review

53 tests

User reviews

1 review

Install metrics

20+ active / 4,068 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▲0.08MB] [CPU: ▼262.38ms] Passed 4 tests

An overview 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 /2.82 ▼0.0125.77 ▼8.74
Dashboard /wp-admin3.18 ▲0.1235.13 ▼5.27
Posts /wp-admin/edit.php3.23 ▲0.1245.85 ▼4.98
Add New Post /wp-admin/post-new.php5.54 ▲0.1193.64 ▼1,030.54
Media Library /wp-admin/upload.php3.12 ▲0.1135.33 ▼0.81
Business Chat Room - 2ConnectMe /wp-admin/options-general.php?page=live-chat-2connectme-elements-settings3.0737.59

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 1 new option
New WordPress options
livechat_2connectme_elements_options9

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,952 ▲34617.59 ▲1.9529.82 ▲21.7254.75 ▲6.04
Dashboard /wp-admin2,966 ▲1136.54 ▲0.72146.17 ▲18.52108.46 ▼6.33
Posts /wp-admin/edit.php2,742 ▲363.00 ▲0.3171.49 ▲1.05125.29 ▲41.10
Add New Post /wp-admin/post-new.php1,673 ▲1618.73 ▼0.17380.59 ▲8.30115.58 ▲9.86
Media Library /wp-admin/upload.php1,805 ▲365.44 ▲0.45144.94 ▼9.08130.35 ▲11.81
Business Chat Room - 2ConnectMe /wp-admin/options-general.php?page=live-chat-2connectme-elements-settings1,8813.1087.20111.20

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully

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
Please fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=live-chat-2connectme-elements-settings
    • > User deprecated in wp-includes/functions.php+5221
    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+5221
    get_screen_icon is deprecated since version 3.8.0 with no alternative available.

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /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
No browser errors were detected

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
Attributes that require attention:
  • Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
Please take inspiration from this readme.txt

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

This is the main PHP file of "Video Live Chat with Screen Share & Stripe Payment" version 1.6.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
  • Domain Path: The domain path is invalid: folder "/languages" does not exist

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
No dangerous file extensions were detected771 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP213139767
JavaScript2004

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
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 1 test

Image compression Passed 1 test

PNG files should be compressed to save space and minimize bandwidth usage
17 compressed PNG files occupy 0.25MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
img/chat-large.png1.18KB1.22KB0.00%
img/video.png1.11KB0.93KB▼ 16.07%
img/video-large.png1.71KB1.40KB▼ 18.17%
img/phone-medium.png0.96KB0.85KB▼ 11.39%
img/mail-small.png0.83KB0.95KB0.00%