77% video-conferencing-with-zoom-api

Code Review | Video Conferencing with Zoom

WordPress plugin Video Conferencing with Zoom scored77%from 54 tests.

About plugin

  • Plugin page: video-conferencin...
  • Plugin version: 4.3.3
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.5.0-6.3
  • WordPress version: 6.3.1
  • First release: Mar 9, 2016
  • Latest release: Oct 31, 2023
  • Number of updates: 274
  • Update frequency: every 10.2 days
  • Top authors: j__3rk (84.67%)codemanas (15.69%)

Code review

54 tests

User reviews

203 reviews

Install metrics

20,000+ active /1,190,975 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲1.52MB] [CPU: ▲9.28ms] 75% from 4 tests

Analyzing server-side resources used by Video Conferencing with Zoom
Please take the time to fix the following items
  • CPU: The total CPU usage must kept under 500.00ms (currently 860.19ms on /wp-admin/edit.php?post_type=zoom-meetings&page=zoom-video-conferencing-settings)
PageMemory (MB)CPU Time (ms)
Home /5.00 ▲1.5358.01 ▲16.56
Dashboard /wp-admin4.81 ▲1.5164.25 ▲11.06
Posts /wp-admin/edit.php4.91 ▲1.5557.48 ▲8.28
Add New Post /wp-admin/post-new.php7.79 ▲1.9096.21 ▲5.71
Media Library /wp-admin/upload.php4.71 ▲1.4847.57 ▲12.07
Settings /wp-admin/edit.php?post_type=zoom-meetings&page=zoom-video-conferencing-settings4.74860.19
All Events /wp-admin/edit.php?post_type=zoom-meetings4.7751.97

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Video Conferencing with Zoom
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,823 ▲3714.72 ▼0.001.79 ▼0.1542.62 ▼4.70
Dashboard /wp-admin2,224 ▲475.59 ▼0.0694.43 ▼2.6841.75 ▼2.32
Posts /wp-admin/edit.php2,129 ▲291.98 ▼0.0535.77 ▼1.2834.47 ▲2.59
Add New Post /wp-admin/post-new.php6,226 ▲4,70019.53 ▼4.001,010.23 ▲315.8562.59 ▲5.18
Media Library /wp-admin/upload.php1,497 ▲974.19 ▲0.0298.13 ▼10.0645.65 ▼2.66
Settings /wp-admin/edit.php?post_type=zoom-meetings&page=zoom-video-conferencing-settings1,3292.5634.2332.50
All Events /wp-admin/edit.php?post_type=zoom-meetings1,2272.0833.8732.26

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
Please fix the following items
  • This plugin does not fully uninstall, leaving 9 options in the database
    • theysaidso_admin_options
    • _vczapi_secret
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • _zvc_user_lists_expiry_time
    • widget_theysaidso_widget
    • can_compress_scripts
    • _zvc_user_lists

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

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
The following issues need your attention
  • 4× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/video-conferencing-with-zoom-api/includes/Bootstrap.php
    • > /wp-content/plugins/video-conferencing-with-zoom-api/templates/shortcode/join-links.php
    • > /wp-content/plugins/video-conferencing-with-zoom-api/templates/shortcode/zoom-single-link.php
    • > /wp-content/plugins/video-conferencing-with-zoom-api/templates/shortcode/webinar-join-links.php
  • 25× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/video-conferencing-with-zoom-api/includes/admin/class-zvc-admin-settings.php:20
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/video-conferencing-with-zoom-api/templates/fragments/filters.php:15
    • > PHP Fatal error
      Uncaught Error: Call to undefined function vczapi_pro_version_active() in wp-content/plugins/video-conferencing-with-zoom-api/templates/fragments/countdown-timer.php:18
    • > PHP Notice
      Trying to get property 'join_url' of non-object in wp-content/plugins/video-conferencing-with-zoom-api/templates/shortcode/zoom-single-link.php on line 13
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/video-conferencing-with-zoom-api/includes/views/migration.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/video-conferencing-with-zoom-api/includes/views/additional-info.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/video-conferencing-with-zoom-api/includes/views/live/tpl-add-user.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function vczapi_pro_version_active() in wp-content/plugins/video-conferencing-with-zoom-api/templates/shortcode/zoom-listing.php:14
    • > PHP Fatal error
      Uncaught Error: Call to undefined function do_action() in wp-content/plugins/video-conferencing-with-zoom-api/templates/shortcode/zoom-shortcode.php:21
    • > PHP Fatal error
      Uncaught Error: Interface 'Firebase\\JWT\\JWTExceptionWithPayloadInterface' not found in wp-content/plugins/video-conferencing-with-zoom-api/vendor/firebase/php-jwt/src/ExpiredException.php:5

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: online meetings, video conference, zoom video conference, web conferencing, zoom video conferencing...

video-conferencing-with-zoom-api/video-conferencing-with-zoom-api.php 85% from 13 tests

The entry point to "Video Conferencing with Zoom" version 4.3.3 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 200 characters long)
  • Requires at least: The required version number must match the one declared in readme.txt ("5.0" instead of "5.5.0")

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 plugin89,704 lines of code in 246 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript1047,1449,26455,005
PO File125,8929,07714,471
PHP1121,8454,00212,264
CSS1370557,173
Markdown21390448
SVG100229
JSON200114

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.43
Average class complexity21.83
▷ Minimum class complexity1.00
▷ Maximum class complexity113.00
Average method complexity3.84
▷ Minimum method complexity1.00
▷ Maximum method complexity33.00
Code structure
Namespaces12
Interfaces1
Traits0
Classes52
▷ Abstract classes00.00%
▷ Concrete classes52100.00%
▷ Final classes11.92%
Methods394
▷ Static methods10927.66%
▷ Public methods30878.17%
▷ Protected methods317.87%
▷ Private methods5513.96%
Functions62
▷ Named functions5893.55%
▷ Anonymous functions46.45%
Constants24
▷ Global constants1562.50%
▷ Class constants937.50%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
23 PNG files occupy 1.01MB with 0.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/ui-icons_777777_256x240.png6.85KB4.18KB▼ 38.94%
assets/images/ui-icons_555555_256x240.png6.84KB4.18KB▼ 38.84%
assets/vendor/images/sort_desc_disabled.png0.14KB0.25KB0.00%
assets/images/zoom.png0.86KB0.96KB0.00%
assets/images/block-previews/join-via-browser.png26.09KB7.66KB▼ 70.66%