84% events-manager-zoom

Code Review | Events Manager - Zoom Integration

WordPress plugin Events Manager - Zoom Integration scored84%from 54 tests.

About plugin

  • Plugin page: events-manager-zoom
  • Plugin version: 1.6
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.2
  • WordPress version: 6.3.1
  • First release: Jun 30, 2020
  • Latest release: Mar 29, 2023
  • Number of updates: 28
  • Update frequency: every 35.9 days
  • Top authors: netweblogic (89.29%)msykes (14.29%)

Code review

54 tests

User reviews

2 reviews

Install metrics

1,000+ active /12,493 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼4.93ms] Passed 4 tests

Analyzing server-side resources used by Events Manager - Zoom Integration
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0244.83 ▲2.86
Dashboard /wp-admin3.33 ▼0.0253.29 ▼14.07
Posts /wp-admin/edit.php3.38 ▲0.0249.64 ▼1.58
Add New Post /wp-admin/post-new.php5.91 ▲0.0293.57 ▼6.21
Media Library /wp-admin/upload.php3.25 ▲0.0237.09 ▲2.16

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 80 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

Events Manager - Zoom Integration: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲4314.28 ▼0.072.06 ▼0.1346.28 ▲3.24
Dashboard /wp-admin2,192 ▲185.61 ▲0.0585.68 ▼14.8742.40 ▲0.60
Posts /wp-admin/edit.php2,100 ▼01.95 ▼0.0243.14 ▲7.7441.86 ▲5.97
Add New Post /wp-admin/post-new.php1,526 ▼023.32 ▲0.22656.93 ▼107.1253.23 ▼8.32
Media Library /wp-admin/upload.php1,400 ▼04.23 ▼0.01102.39 ▼1.4248.85 ▲2.69

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP 50% 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
  • 9× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Class 'EM_OAuth\\OAuth_API' not found in wp-content/plugins/events-manager-zoom/oauth/em-zoom-api.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/events-manager-zoom/em-zoom-docs.php:2
    • > PHP Fatal error
      Uncaught Error: Class 'EM_OAuth\\OAuth_API_Client' not found in wp-content/plugins/events-manager-zoom/oauth/em-zoom-api-client.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/events-manager-zoom/em-zoom-install.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/events-manager-zoom/events-manager-zoom.php:30
    • > PHP Fatal error
      Uncaught Error: Class 'EM_OAuth\\OAuth_API_Admin_Settings' not found in wp-content/plugins/events-manager-zoom/oauth/em-zoom-admin-settings.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'EM_Event_Locations\\Event_Location' not found in wp-content/plugins/events-manager-zoom/event-locations/em-event-location-zoom-meeting.php:19
    • > PHP Fatal error
      Uncaught Error: Class 'EM_Event_Locations\\Event_Location' not found in wp-content/plugins/events-manager-zoom/event-locations/em-event-location-zoom-room.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'EM_Event_Locations\\Zoom_Meeting' not found in wp-content/plugins/events-manager-zoom/event-locations/em-event-location-zoom-webinar.php:17

User-side errors Passed 1 test

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

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: tickets, events, webinars, buddypress, zoom...

events-manager-zoom/events-manager-zoom.php Passed 13 tests

"Events Manager - Zoom Integration" version 1.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
40 characters long description:
Adds Zoom integration for Events Manager

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin11,600 lines of code in 79 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript652,5387589,497
PHP11963481,642
CSS2590457
SVG1004

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.49
Average class complexity37.33
▷ Minimum class complexity1.00
▷ Maximum class complexity237.00
Average method complexity5.78
▷ Minimum method complexity1.00
▷ Maximum method complexity56.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes9
▷ Abstract classes00.00%
▷ Concrete classes9100.00%
▷ Final classes00.00%
Methods68
▷ Static methods3957.35%
▷ Public methods68100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions00.00%
▷ Anonymous functions3100.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin