78% vicodo-live-video-chat

Code Review | Live video & live chat by Vicodo - direct video calls on your website

WordPress plugin Live video & live chat by Vicodo - direct video calls on your website scored 78% from 54 tests.

About plugin

  • Plugin page: vicodo-live-video...
  • Plugin version: 1.4.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.0
  • WordPress version: 6.3.1
  • First release: May 27, 2022
  • Latest release: Jun 27, 2022
  • Number of updates: 5
  • Update frequency: every 6.4 days
  • Top authors: vicodo (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

30+ active / 1,021 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.03MB] [CPU: ▼7.90ms] Passed 4 tests

A check of server-side resources used by Live video & live chat by Vicodo - direct video calls on your website
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.42 ▼0.0424.12 ▼20.58
Dashboard /wp-admin3.35 ▲0.0548.50 ▼1.21
Posts /wp-admin/edit.php3.40 ▲0.0548.30 ▼0.52
Add New Post /wp-admin/post-new.php5.95 ▲0.0685.47 ▼6.89
Media Library /wp-admin/upload.php3.27 ▲0.0536.12 ▼2.93

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 43 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments
db_upgraded
widget_recent-posts
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for Live video & live chat by Vicodo - direct video calls on your website
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,828 ▲9313.45 ▼0.801.76 ▼0.1642.73 ▼0.87
Dashboard /wp-admin2,234 ▲434.93 ▲0.03118.50 ▲12.6786.46 ▲48.95
Posts /wp-admin/edit.php2,117 ▲282.10 ▲0.1037.89 ▲1.8835.00 ▲2.09
Add New Post /wp-admin/post-new.php1,555 ▲3523.13 ▼0.05671.05 ▲65.3035.20 ▼23.70
Media Library /wp-admin/upload.php1,410 ▲224.26 ▲0.1098.30 ▼2.9481.60 ▲37.49

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

SRP 0% 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 take a closer look at the following
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/vicodo-live-video-chat/vendor/mobiledetect/mobiledetectlib/export/exportToJSON.php
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/vicodo-live-video-chat/widget.php:1

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration 90% 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 need to be fixed:
  • Tags: Please delete some tags, you are using 11 tag instead of maximum 10
You can look at the official readme.txt

vicodo-live-video-chat/vicodo-live-video-chat.php 85% from 13 tests

"Live video & live chat by Vicodo - direct video calls on your website" version 1.4.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
  • Description: Keep the plugin description shorter than 140 characters (currently 141 characters long)
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin2,113 lines of code in 33 files:
LanguageFilesBlank linesComment linesLines of code
PHP163291,2931,496
Markdown51420327
PO File24852134
JSON400102
XML10020
JavaScript23117
YAML11015
CSS1281
SVG1001

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.66
Average class complexity38.00
▷ Minimum class complexity1.00
▷ Maximum class complexity139.00
Average method complexity3.91
▷ Minimum method complexity1.00
▷ Maximum method complexity78.00
Code structure
Namespaces3
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods90
▷ Static methods2831.11%
▷ Public methods7987.78%
▷ Protected methods22.22%
▷ Private methods910.00%
Functions2
▷ Named functions150.00%
▷ Anonymous functions150.00%
Constants10
▷ Global constants110.00%
▷ Class constants990.00%
▷ Public constants9100.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
3 compressed PNG files occupy 0.01MB
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
css/chosen-sprite.png0.53KB0.88KB0.00%
images/logo.png4.45KB4.67KB0.00%
css/chosen-sprite@2x.png0.72KB0.83KB0.00%