94% automatorwp-zoom-integration

Code Review | AutomatorWP - Zoom integration

WordPress plugin AutomatorWP - Zoom integration scored 94% from 54 tests.

About plugin

  • Plugin page: automatorwp-zoom-...
  • Plugin version: 1.0.4
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-5.8
  • WordPress version: 5.8.1
  • First release: Dec 16, 2020
  • Latest release: Aug 4, 2021
  • Number of updates: 10
  • Update frequency: every 23.2 days
  • Top authors: rubengc (100%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active / 1,023 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼139.81ms] Passed 4 tests

A check of server-side resources used by AutomatorWP - Zoom integration
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1243.80 ▲16.77
Dashboard /wp-admin3.06 ▲0.0150.38 ▲1.77
Posts /wp-admin/edit.php3.11 ▲0.0150.89 ▲2.12
Add New Post /wp-admin/post-new.php5.43 ▼0.00105.37 ▼557.22
Media Library /wp-admin/upload.php3.01 ▼0.0036.62 ▼5.89

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

AutomatorWP - Zoom integration: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,726 ▲12015.63 ▲0.1110.68 ▼1.5851.86 ▼6.62
Dashboard /wp-admin2,990 ▲595.97 ▼0.22154.16 ▲1.07111.65 ▼11.89
Posts /wp-admin/edit.php2,765 ▲292.72 ▲0.0173.62 ▲11.04102.11 ▲11.17
Add New Post /wp-admin/post-new.php1,699 ▲1618.81 ▲0.43399.42 ▼7.22114.97 ▼3.94
Media Library /wp-admin/upload.php1,831 ▲245.04 ▲0.03159.81 ▼1.18123.64 ▼6.62

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/automatorwp-zoom-integration/automatorwp-zoom.php:239

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: automatorwp, webinar, video, zoom, meeting

automatorwp-zoom-integration/automatorwp-zoom.php 85% from 13 tests

The main PHP file in "AutomatorWP - Zoom integration" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("automatorwp-zoom-integration.php" instead of "automatorwp-zoom.php")
  • 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 Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin852 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
PHP6242423592
SVG111189
JavaScript2191053
CSS23018

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity12.00
▷ Minimum class complexity12.00
▷ Maximum class complexity12.00
Average method complexity2.47
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes150.00%
Methods15
▷ Static methods16.67%
▷ Public methods1066.67%
▷ Protected methods00.00%
▷ Private methods533.33%
Functions19
▷ Named functions19100.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants6100.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
There are no PNG files in this plugin