78% 123-chat-videochat

Code Review | 123.chat - 1:1 Live Video Chat Tool Plugin

WordPress plugin 123.chat - 1:1 Live Video Chat Tool Plugin scored 78% from 54 tests.

About plugin

  • Plugin page: 123-chat-videochat
  • Plugin version: 1.3.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-6.3.0
  • WordPress version: 6.3.1
  • First release: Jun 5, 2020
  • Latest release: Aug 11, 2023
  • Number of updates: 23
  • Update frequency: every 50.5 days
  • Top authors: 123chat (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

40+ active / 3,089 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

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

Analyzing server-side resources used by 123.chat - 1:1 Live Video Chat Tool Plugin
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0135.51 ▼5.98
Dashboard /wp-admin3.32 ▲0.0244.84 ▼6.74
Posts /wp-admin/edit.php3.37 ▲0.0144.70 ▼2.67
Add New Post /wp-admin/post-new.php5.90 ▲0.0191.17 ▼4.56
Media Library /wp-admin/upload.php3.24 ▲0.0137.97 ▲3.56
123.chat /wp-admin/options-general.php?page=chat1233.1831.38

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options
theysaidso_admin_options
chat123_usr_id
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by 123.chat - 1:1 Live Video Chat Tool Plugin
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6914.80 ▲0.501.70 ▼0.4540.09 ▼3.17
Dashboard /wp-admin2,213 ▲224.85 ▼0.06101.43 ▼1.7636.30 ▼4.48
Posts /wp-admin/edit.php2,093 ▲42.05 ▲0.0135.18 ▼1.1933.60 ▼4.87
Add New Post /wp-admin/post-new.php1,517 ▼1617.67 ▼5.27610.62 ▼3.5670.90 ▼5.49
Media Library /wp-admin/upload.php1,395 ▲104.19 ▼0.05101.76 ▼6.1843.71 ▼4.65
123.chat /wp-admin/options-general.php?page=chat1238032.0326.2929.29

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • Zombie WordPress options detected upon uninstall: 7 options
    • widget_recent-posts
    • chat123_usr_id
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options

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=chat123
    • > 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=chat123
    • > 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 | 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 trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/123-chat-videochat/123chat.php:17

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: chat consulting, livechat, video call, video meeting, videochat...

123-chat-videochat/123chat.php 85% from 13 tests

The main file in "123.chat - 1:1 Live Video Chat Tool Plugin" v. 1.3.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 241 characters long)
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("123-chat-videochat.php" instead of "123chat.php")

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
There were no executable files found in this plugin50 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP110850

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.17
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 Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected