83% webinar-and-video-conference-with-jitsi-meet

Code Review | Webinar and Video Conference with Jitsi Meet - Create Branded Webinars for WordPress, Meetings & Livestreaming

WordPress plugin Webinar and Video Conference with Jitsi Meet - Create Branded Webinars for WordPress, Meetings & Livestreaming scored83%from 54 tests.

About plugin

  • Plugin page: webinar-and-video...
  • Plugin version: 2.5.7
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4
  • WordPress version: 6.3.1
  • First release: Jul 22, 2020
  • Latest release: Nov 8, 2023
  • Number of updates: 85
  • Update frequency: every 14.2 days
  • Top authors: azizultex (57.65%)wppool (20%)foysalremon (17.65%)shahreyar46 (8.24%)

Code review

54 tests

User reviews

25 reviews

Install metrics

1,000+ active /61,027 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.68MB] [CPU: ▼1.11ms] Passed 4 tests

This is a short check of server-side resources used by Webinar and Video Conference with Jitsi Meet - Create Branded Webinars for WordPress, Meetings & Livestreaming
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.87 ▲0.4144.12 ▲4.07
Dashboard /wp-admin4.08 ▲0.7750.62 ▲1.45
Posts /wp-admin/edit.php4.12 ▲0.7660.03 ▲5.83
Add New Post /wp-admin/post-new.php6.67 ▲0.7888.36 ▼15.77
Media Library /wp-admin/upload.php4.01 ▲0.7742.34 ▲11.19

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 60 new files
Database: no new tables, 9 new options
New WordPress options
jitsi_meet_wp_version
widget_theysaidso_widget
db_upgraded
widget_recent-comments
theysaidso_admin_options
jitsi_meet_welcome_redirect
can_compress_scripts
widget_recent-posts
jitsi_meet_wp_install_time

Browser metrics Passed 4 tests

An overview of browser requirements for Webinar and Video Conference with Jitsi Meet - Create Branded Webinars for WordPress, Meetings & Livestreaming
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,517 ▼24524.65 ▲10.3357.86 ▲55.8625.91 ▼15.80
Dashboard /wp-admin2,362 ▲1975.70 ▲0.12101.27 ▲3.5948.93 ▲5.91
Posts /wp-admin/edit.php2,277 ▲1742.25 ▲0.2644.81 ▲7.8538.64 ▲3.85
Add New Post /wp-admin/post-new.php6,351 ▲4,82519.17 ▼3.67940.21 ▲349.0238.76 ▼12.43
Media Library /wp-admin/upload.php1,576 ▲1734.28 ▲0.11101.68 ▼0.8843.77 ▼3.61

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
  • This plugin did not uninstall successfully, leaving 9 options in the database
    • jitsi_meet_wp_version
    • widget_recent-comments
    • jitsi_meet_wp_install_time
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • jitsi_meet_welcome_redirect
    • widget_theysaidso_widget
    • can_compress_scripts

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× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/webinar-and-video-conference-with-jitsi-meet/inc/admin/licence-cta.php:10

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
  • Screenshots: These screenshots do not have images: #10 (WooCommerce Integration 2), #11 (Self Hosted)
You can take inspiration from this readme.txt

webinar-and-video-conference-with-jitsi-meet/jitsi-meet-wp.php 85% from 13 tests

The principal PHP file in "Webinar and Video Conference with Jitsi Meet - Create Branded Webinars for WordPress, Meetings & Livestreaming" v. 2.5.7 is loaded by WordPress automatically on each request
The following require your attention:
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("webinar-and-video-conference-with-jitsi-meet.php" instead of "jitsi-meet-wp.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin7,354 lines of code in 33 files:
LanguageFilesBlank linesComment linesLines of code
PHP188631,7933,984
Sass225671,485
CSS41392945
JavaScript510094742
SVG300123
PO File1262675

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.34
Average class complexity27.92
▷ Minimum class complexity1.00
▷ Maximum class complexity91.00
Average method complexity2.72
▷ Minimum method complexity1.00
▷ Maximum method complexity15.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes12
▷ Abstract classes00.00%
▷ Concrete classes12100.00%
▷ Final classes00.00%
Methods188
▷ Static methods84.26%
▷ Public methods14878.72%
▷ Protected methods94.79%
▷ Private methods3116.49%
Functions8
▷ Named functions675.00%
▷ Anonymous functions225.00%
Constants7
▷ Global constants7100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
17 PNG files occupy 1.27MB with 0.61MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/img/07.png102.66KB31.89KB▼ 68.94%
inc/wppool/background-image.png29.75KB32.61KB0.00%
assets/img/08.png94.10KB42.61KB▼ 54.72%
docs/img/step-2.png27.26KB11.27KB▼ 58.64%
assets/img/02.png83.22KB34.28KB▼ 58.81%