78% 123-chat-videochat

Code Review | 123.chat - Video Chat Tools

WordPress plugin 123.chat - Video Chat Tools scored 78% from 54 tests.

About plugin

  • Plugin page: 123-chat-videochat
  • Plugin version: 1.2.2
  • PHP version: 7.4.16
  • WordPress version: 5.9.2
  • First release: Jun 5, 2020
  • Latest release: Jan 28, 2022
  • Number of updates: 15
  • Update frequency: every 40.1 days
  • Top authors: 123chat (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

50+ active / 1,734 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

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

A check of server-side resources used by 123.chat - Video Chat Tools
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0252.10 ▲0.40
Dashboard /wp-admin3.42 ▲0.0234.26 ▲1.21
Posts /wp-admin/edit.php3.65 ▲0.0236.07 ▲0.03
Add New Post /wp-admin/post-new.php6.89 ▼0.0891.76 ▼1,180.06
Media Library /wp-admin/upload.php3.31 ▲0.0125.61 ▲1.77
123.chat /wp-admin/options-general.php?page=chat1233.2521.12

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 1 new option
New WordPress options
chat123_usr_id

Browser metrics Passed 4 tests

123.chat - Video Chat Tools: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,801 ▲7516.20 ▲0.226.09 ▼0.452.42 ▼0.02
Dashboard /wp-admin2,897 ▲396.11 ▼0.08115.39 ▼17.35153.62 ▼8.68
Posts /wp-admin/edit.php2,693 ▲23.22 ▼0.0262.17 ▼0.84133.13 ▼12.19
Add New Post /wp-admin/post-new.php1,664 ▲316.42 ▲0.42401.33 ▼11.97157.11 ▲1.44
Media Library /wp-admin/upload.php1,703 ▲85.46 ▼0.07139.04 ▼7.23185.77 ▲5.14
123.chat /wp-admin/options-general.php?page=chat1231,0462.3856.48119.04

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • The uninstall procedure has failed, leaving 1 option in the database
    • chat123_usr_id

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
These errors were triggered by the plugin
    • > GET request to /wp-admin/options-general.php?page=chat123
    • > User deprecated in wp-includes/functions.php+5326
    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+5326
    get_screen_icon is deprecated since version 3.8.0 with no alternative available.

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
  • 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:14

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 uses markdown syntax to describe your plugin to the world
6 plugin tags: video conference, videochat, video chat, chat, video call...

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

The main file in "123.chat - Video Chat Tools" v. 1.2.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
  • Description: Please don't use more than 140 characters for the plugin description (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 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin43 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP19843

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
Functions5
▷ Named functions5100.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
No PNG images were found in this plugin