78% video-conferencing-webex

Code Review | Video Conferencing with Webex

WordPress plugin Video Conferencing with Webex scored78%from 54 tests.

About plugin

  • Plugin page: video-conferencin...
  • Plugin version: 1.1.5
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0-6.2
  • WordPress version: 6.3.1
  • First release: Sep 20, 2022
  • Latest release: Jul 27, 2023
  • Number of updates: 8
  • Update frequency: every 38.8 days
  • Top authors: codemanas (87.5%)j__3rk (25%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /858 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 successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.51MB] [CPU: ▲2.76ms] Passed 4 tests

Analyzing server-side resources used by Video Conferencing with Webex
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.79 ▲0.3242.17 ▼0.79
Dashboard /wp-admin3.88 ▲0.5853.07 ▲1.06
Posts /wp-admin/edit.php3.94 ▲0.5850.26 ▲5.39
Add New Post /wp-admin/post-new.php6.52 ▲0.63101.39 ▲6.47
Media Library /wp-admin/upload.php3.81 ▲0.5738.97 ▲5.36
Settings /wp-admin/edit.php?post_type=webex-events&page=webex-events-settings3.8336.50

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 223 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by Video Conferencing with Webex
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,827 ▲9213.25 ▼1.502.04 ▼0.1142.36 ▼4.02
Dashboard /wp-admin2,231 ▲494.84 ▼1.06106.28 ▼11.4140.63 ▼4.44
Posts /wp-admin/edit.php2,111 ▲221.97 ▼0.0433.81 ▼4.0634.04 ▼2.94
Add New Post /wp-admin/post-new.php1,561 ▲2718.41 ▼4.74593.19 ▼98.8555.38 ▼2.12
Media Library /wp-admin/upload.php1,410 ▲224.23 ▲0.0194.05 ▼8.6842.70 ▲0.30
Settings /wp-admin/edit.php?post_type=webex-events&page=webex-events-settings9241.9025.0826.83

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check 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
Please fix the following items
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/video-conferencing-webex/core/Admin/Users/ui/users.php
  • 19× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/video-conferencing-webex/templates/single-event/details.php:17
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/video-conferencing-webex/core/Admin/Events/ui/event-settings.php:6
    • > PHP Fatal error
      Uncaught Error: Interface 'Codemanas\\Webex\\Core\\Helpers\\FieldsInterface' not found in wp-content/plugins/video-conferencing-webex/core/Helpers/Fields.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/video-conferencing-webex/core/Admin/Events/ui/event-details.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Codemanas\\Webex\\Core\\Plugin' not found in wp-content/plugins/video-conferencing-webex/core/Kernel.php:40
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_admin_page_title() in wp-content/plugins/video-conferencing-webex/core/Admin/Importer/ui/import.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/video-conferencing-webex/video-conferencing-webex.php:17
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/video-conferencing-webex/templates/shortcodes/single-event/by-meeting-id.php:16
    • > PHP Fatal error
      Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/video-conferencing-webex/core/Admin/Settings/ui/extensions.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Codemanas\\Webex\\Core\\Api\\Client' not found in wp-content/plugins/video-conferencing-webex/core/Api/Endpoints.php:5

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: webex meetups, webex, online seminars, schedule meetings, video conference...

video-conferencing-webex/video-conferencing-webex.php 92% from 13 tests

The main PHP file in "Video Conferencing with Webex" ver. 1.1.5 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
  • Domain Path: The domain path points to a folder that does not exist ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin5,504 lines of code in 147 files:
LanguageFilesBlank linesComment linesLines of code
PHP617781,2693,510
CSS969641,905
JavaScript7607084
JSON1005

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.39
Average class complexity13.32
▷ Minimum class complexity1.00
▷ Maximum class complexity47.00
Average method complexity3.12
▷ Minimum method complexity1.00
▷ Maximum method complexity43.00
Code structure
Namespaces16
Interfaces1
Traits0
Classes30
▷ Abstract classes00.00%
▷ Concrete classes30100.00%
▷ Final classes13.33%
Methods190
▷ Static methods7438.95%
▷ Public methods17893.68%
▷ Protected methods31.58%
▷ Private methods94.74%
Functions14
▷ Named functions1178.57%
▷ Anonymous functions321.43%
Constants17
▷ Global constants1164.71%
▷ Class constants635.29%
▷ Public constants6100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin