84% consolto-videochat

Code Review | Consolto Video Chat

WordPress plugin Consolto Video Chat scored84%from 54 tests.

About plugin

  • Plugin page: consolto-videochat
  • Plugin version: 2.7.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7-6.4
  • WordPress version: 6.3.1
  • First release: Jul 12, 2018
  • Latest release: Nov 19, 2023
  • Number of updates: 85
  • Update frequency: every 23.0 days
  • Top authors: iharel (100%)

Code review

54 tests

User reviews

40 reviews

Install metrics

400+ active /24,429 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
Installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼3.06ms] Passed 4 tests

An overview of server-side resources used by Consolto Video Chat
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0341.60 ▲2.00
Dashboard /wp-admin3.34 ▼0.0151.55 ▼6.72
Posts /wp-admin/edit.php3.39 ▲0.0347.24 ▼1.07
Add New Post /wp-admin/post-new.php5.92 ▲0.0389.47 ▼6.43
Media Library /wp-admin/upload.php3.26 ▲0.0335.21 ▲3.14

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options
db_upgraded
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Consolto Video Chat
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,937 ▲17517.83 ▲3.43121.32 ▲119.4337.99 ▼7.01
Dashboard /wp-admin2,226 ▲495.57 ▼0.0595.39 ▲1.5296.49 ▲54.73
Posts /wp-admin/edit.php2,152 ▲521.95 ▼0.0238.54 ▼3.1334.86 ▼4.66
Add New Post /wp-admin/post-new.php1,582 ▲5624.96 ▲1.68714.39 ▼12.4454.05 ▼4.38
Media Library /wp-admin/upload.php1,446 ▲494.22 ▼0.02101.39 ▼16.4578.02 ▲29.59

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

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 fix the following items
  • 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/consolto-videochat/ConsoltoInserter.php:19

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: videochat, scheduling, booking, video conference, video chat

consolto-videochat/ConsoltoInserter.php 85% from 13 tests

The main PHP file in "Consolto Video Chat" ver. 2.7.4 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 280 characters long)
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("consolto-videochat.php" instead of "ConsoltoInserter.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 plugin281 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP15636281

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.32
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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin