46% webinar-ignition

Code Review | Webinar Plugin: Create live/evergreen/automated/instant webinars, stream & Zoom Meetings | WebinarIgnition

WordPress plugin Webinar Plugin: Create live/evergreen/automated/instant webinars, stream & Zoom Meetings | WebinarIgnition scored46%from 54 tests.

About plugin

  • Plugin page: webinar-ignition
  • Plugin version: 3.04.5
  • PHP compatiblity: 7.2.5+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4
  • WordPress version: 6.3.1
  • First release: Oct 26, 2019
  • Latest release: Nov 7, 2023
  • Number of updates: 467
  • Update frequency: every 3.2 days
  • Top authors: Tobias_Conrad (96.79%)subscribetech (3.21%)

Code review

54 tests

User reviews

41 reviews

Install metrics

300+ active /43,978 total downloads

Benchmarks

Plugin footprint 47% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲6.20MB] [CPU: ▲53.87ms] 75% from 4 tests

Analyzing server-side resources used by Webinar Plugin: Create live/evergreen/automated/instant webinars, stream & Zoom Meetings | WebinarIgnition
It is recommended to improve the following
  • Extra RAM: The extra memory usage should kept under 5MB (currently 6.20MB on /wp-admin/admin.php?page=freemius)
PageMemory (MB)CPU Time (ms)
Home /9.89 ▲6.42104.27 ▲64.65
Dashboard /wp-admin9.54 ▲6.24111.78 ▲52.09
Posts /wp-admin/edit.php9.60 ▲6.24107.49 ▲55.65
Add New Post /wp-admin/post-new.php12.06 ▲6.17148.24 ▲43.08
Media Library /wp-admin/upload.php9.39 ▲6.16123.29 ▲92.07
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius9.65100.53

Server storage [IO: ▲40.69MB] [DB: ▲0.02MB] 67% from 3 tests

Input-output and database impact of this plugin
Just a few items left to fix
  • Total filesystem usage should be limited to 25MB (currently using 40.69MB)
Filesystem: 4,213 new files
Database: 10 new tables, 29 new options
New tables
wp_webinarignition_questions
wp_webinarignition_users_online
wp_wi_logs
wp_webinarignition_leadmeta
wp_webinarignition_leads_evergreen
wp_webinarignition
wp_webinarignition_wi
wp_webinarignition_leads
wp_webinarignition_webhooks
wp_webinarignition_lead_evergreenmeta
New WordPress options
webinarignition_2_4_4_update
webinarignition_db_version
wi_data_conversion_page
webinarignition_2_6_5_update
wi_first_install
wi_update_once
webinarignition_2_9_0_update
webinarignition_activated
webinarignition_branding_copy
webinarignition_2_2_17_update
...

Browser metrics Passed 4 tests

An overview of browser requirements for Webinar Plugin: Create live/evergreen/automated/instant webinars, stream & Zoom Meetings | WebinarIgnition
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,998 ▲23614.88 ▲0.531.60 ▼0.1831.92 ▼11.91
Dashboard /wp-admin2,403 ▲2266.18 ▲0.61126.27 ▲34.2847.48 ▲4.97
Posts /wp-admin/edit.php2,349 ▲2493.55 ▲1.5957.37 ▲19.4941.92 ▲7.55
Add New Post /wp-admin/post-new.php1,571 ▲4521.02 ▼2.56712.22 ▲31.0039.55 ▼16.12
Media Library /wp-admin/upload.php1,478 ▲814.18 ▼0.0099.22 ▼9.0753.96 ▲8.64
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius1,2913.0945.5527.49

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • Uninstall procedure had uncaught errors
    • > Notice in wp-content/plugins/webinar-ignition/freemius/includes/class-freemius.php+8546
    Undefined property: stdClass::$plugins
  • The uninstall procedure failed, leaving 10 tables in the database
    • wp_webinarignition_webhooks
    • wp_wi_logs
    • wp_webinarignition
    • wp_webinarignition_leadmeta
    • wp_webinarignition_leads
    • wp_webinarignition_leads_evergreen
    • wp_webinarignition_wi
    • wp_webinarignition_lead_evergreenmeta
    • wp_webinarignition_users_online
    • wp_webinarignition_questions
  • Zombie WordPress options were found after uninstall: 29 options
    • webinarignition_branding_copy
    • widget_theysaidso_widget
    • wi_update_once
    • webinarignition_2_4_4_update
    • webinarignition_2_6_8_update
    • webinarignition_2_6_5_update
    • webinarignition_2_9_0_update
    • webinarignition_smtp_email
    • fs_debug_mode
    • webinarignition_2_2_17_update
    • ...

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 0% 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
Almost there! Just fix the following items
  • 10× PHP files output text when accessed directly:
    • > /wp-content/plugins/webinar-ignition/inc/lp/css/lp_css.php
    • > /wp-content/plugins/webinar-ignition/inc/lp/css/ty_css.php
    • > /wp-content/plugins/webinar-ignition/inc/lp/partials/fb_share_js.php
    • > /wp-content/plugins/webinar-ignition/inc/lp/posted.php
    • > /wp-content/plugins/webinar-ignition/inc/lp/partials/auto-video.php
    • > /wp-content/plugins/webinar-ignition/vendor/stripe/stripe-php/build.php
    • > /wp-content/plugins/webinar-ignition/vendor/stripe/stripe-php/update_certs.php
    • > /wp-content/plugins/webinar-ignition/inc/lp/partials/tw_share_js.php
    • > /wp-content/plugins/webinar-ignition/vendor/symfony/translation/Resources/bin/translation-status.php
    • > /wp-content/plugins/webinar-ignition/inc/lp/css/ss_css.php
  • 2501× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Twilio\\InstanceResource' not found in wp-content/plugins/webinar-ignition/vendor/twilio/sdk/src/Twilio/Rest/Preview/Wireless/CommandInstance.php:33
    • > PHP Fatal error
      Uncaught Error: Class 'Twilio\\Options' not found in wp-content/plugins/webinar-ignition/vendor/twilio/sdk/src/Twilio/Rest/Preview/Understand/Assistant/ModelBuildOptions.php:41
    • > PHP Fatal error
      Uncaught Error: Class 'Twilio\\Options' not found in wp-content/plugins/webinar-ignition/vendor/twilio/sdk/src/Twilio/Rest/Autopilot/V1/AssistantOptions.php:58
    • > PHP Fatal error
      Uncaught Error: Class 'Twilio\\Page' not found in wp-content/plugins/webinar-ignition/vendor/twilio/sdk/src/Twilio/Rest/Chat/V1/Service/Channel/InvitePage.php:16
    • > PHP Fatal error
      Uncaught Error: Class 'Twilio\\InstanceContext' not found in wp-content/plugins/webinar-ignition/vendor/twilio/sdk/src/Twilio/Rest/Voice/V1/ConnectionPolicyContext.php:24
    • > PHP Fatal error
      Uncaught Error: Class 'Twilio\\Options' not found in wp-content/plugins/webinar-ignition/vendor/twilio/sdk/src/Twilio/Rest/Preview/Understand/Assistant/TaskOptions.php:53
    • > PHP Fatal error
      Uncaught Error: Class 'Twilio\\InstanceResource' not found in wp-content/plugins/webinar-ignition/vendor/twilio/sdk/src/Twilio/Rest/Studio/V2/Flow/Execution/ExecutionContextInstance.php:24
    • > PHP Fatal error
      Uncaught Error: Class 'Twilio\\Options' not found in wp-content/plugins/webinar-ignition/vendor/twilio/sdk/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantOptions.php:78
    • > PHP Fatal error
      Uncaught Error: Class 'Twilio\\InstanceResource' not found in wp-content/plugins/webinar-ignition/vendor/twilio/sdk/src/Twilio/Rest/Supersim/V1/SimInstance.php:34
    • > PHP Fatal error
      Uncaught Error: Class 'Twilio\\InstanceContext' not found in wp-content/plugins/webinar-ignition/vendor/twilio/sdk/src/Twilio/Rest/Chat/V2/Service/User/UserBindingContext.php:17

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)
Everything seems fine on the user side

Optimizations

Plugin configuration 90% 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: stream, jitsi, seminar, zoom, live...

webinar-ignition/webinarignition.php 77% from 13 tests

The main file in "Webinar Plugin: Create live/evergreen/automated/instant webinars, stream & Zoom Meetings | WebinarIgnition" v. 3.04.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("webinar-ignition.php" instead of "webinarignition.php")
  • Description: The description should be shorter than 140 characters (currently 214 characters long)
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

Code Analysis 0% from 3 tests

File types 0% from 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Please make sure to remedy the following
  • For security reasons, never distribute binary or executable files with your plugin
    • .crt - Security Certificate in Firefox, IE, Chrome, Safari
      • wp-content/plugins/webinar-ignition/vendor/stripe/stripe-php/data/ca-certificates.crt
    • .bat - Batch File in Windows
      • wp-content/plugins/webinar-ignition/vendor/bin/carbon.bat
      • wp-content/plugins/webinar-ignition/vendor/nesbot/carbon/bin/carbon.bat
541,150 lines of code in 3,828 files:
LanguageFilesBlank linesComment linesLines of code
PHP3,66671,591198,420313,581
CSS4514,144766102,992
PO File1835,78444,94897,333
JavaScript523,0892,77919,848
XSD392482,803
Markdown191,07202,678
JSON13201,442
SVG100339
XML40068
make19027
YAML20013
Bourne Shell13110
DOS Batch2008
Dockerfile1308

PHP code 0% from 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
  • Class cyclomatic complexity should be reduced to less than 1000 (currently 3,096)
  • Method cyclomatic complexity should be reduced to less than 100 (currently 138)
Cyclomatic complexity
Average complexity per logical line of code0.21
Average class complexity3.67
▷ Minimum class complexity1.00
▷ Maximum class complexity3,096.00
Average method complexity1.39
▷ Minimum method complexity1.00
▷ Maximum method complexity138.00
Code structure
Namespaces278
Interfaces48
Traits33
Classes4,782
▷ Abstract classes3236.75%
▷ Concrete classes4,45993.25%
▷ Final classes130.29%
Methods32,792
▷ Static methods1,4794.51%
▷ Public methods30,37892.64%
▷ Protected methods1,6815.13%
▷ Private methods7332.24%
Functions862
▷ Named functions50158.12%
▷ Anonymous functions36141.88%
Constants1,247
▷ Global constants1169.30%
▷ Class constants1,13190.70%
▷ Public constants1,12899.73%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
59 PNG files occupy 1.42MB with 1.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/headerbg.png2.81KB0.38KB▼ 86.58%
images/wi-email-design-logo.png39.27KB18.71KB▼ 52.34%
inc/lp/images/logoC.png14.37KB4.50KB▼ 68.69%
images/lp2.png57.41KB16.17KB▼ 71.84%
inc/lp/images/arrows2.png3.35KB0.49KB▼ 85.25%