84% nav-zoom-meet

Code Review | Nav Zoom Meet

WordPress plugin Nav Zoom Meet scored84%from 54 tests.

About plugin

  • Plugin page: nav-zoom-meet
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.0
  • WordPress version: 6.3.1
  • First release: Jul 4, 2022
  • Latest release: Jul 4, 2022
  • Number of updates: 3
  • Update frequency: every 1.3 days
  • Top authors: navtrak (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /520 total downloads

Benchmarks

Plugin footprint 83% 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: ▲0.14MB] [CPU: ▼4.64ms] Passed 4 tests

This is a short check of server-side resources used by Nav Zoom Meet
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.62 ▲0.1643.10 ▼3.17
Dashboard /wp-admin3.44 ▲0.1453.30 ▼0.83
Posts /wp-admin/edit.php3.55 ▲0.2053.06 ▼1.58
Add New Post /wp-admin/post-new.php6.02 ▲0.1490.76 ▼12.99
Media Library /wp-admin/upload.php3.36 ▲0.1345.77 ▲9.11
Upcoming Meeting /wp-admin/admin.php?page=meeting_list3.3540.03
Past Meeting /wp-admin/admin.php?page=past_meeting3.3336.63
Zoom Meet /wp-admin/admin.php?page=zoom-setting3.6632.89

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 106 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
db_upgraded
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for Nav Zoom Meet
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,962 ▲19113.66 ▼0.8210.52 ▲8.4140.88 ▼5.77
Dashboard /wp-admin2,245 ▲574.87 ▼0.05104.92 ▼1.8642.89 ▲3.42
Posts /wp-admin/edit.php2,128 ▲392.14 ▲0.1336.46 ▼6.3035.91 ▲0.27
Add New Post /wp-admin/post-new.php1,570 ▲4223.55 ▲5.29687.64 ▲34.4558.64 ▼0.06
Media Library /wp-admin/upload.php1,427 ▲454.19 ▼0.09107.28 ▲3.3746.95 ▼2.49
Upcoming Meeting /wp-admin/admin.php?page=meeting_list1,3372.5457.6396.29
Past Meeting /wp-admin/admin.php?page=past_meeting1,0802.4746.8247.23
Zoom Meet /wp-admin/admin.php?page=zoom-setting1,9402.5633.5775.12

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts

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
Even though everything seems fine, this is not an exhaustive test

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
Almost there! Just fix the following items
  • 9× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/nav-zoom-meet/includes/nzm-meeting-single.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/nav-zoom-meet/nav-zoom-meet.php:32
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/nav-zoom-meet/includes/nzm-shortcodes.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/nav-zoom-meet/includes/nzm-plugin-config.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nav-zoom-meet/includes/plugin-style-script.php:29
    • > PHP Fatal error
      Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/nav-zoom-meet/includes/nzm-past-meeting.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/nav-zoom-meet/includes/nzm-main.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/nav-zoom-meet/includes/nzm-meeting.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nav-zoom-meet/includes/nzm-ajax-functions.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
8 plugin tags: zoom meeting by frontend user, add participants, zoom, delete zoom meeting, view zoom meeting...

nav-zoom-meet/nav-zoom-meet.php Passed 13 tests

The primary PHP file in "Nav Zoom Meet" version 1.0.0 is used by WordPress to initiate all plugin functionality
105 characters long description:
This plugin will help you to manage zoom meetings from wordpress admin panel with basic or pro Zoom plan.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected38,168 lines of code in 36 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript85,4304,32623,161
SVG61311,452
CSS10651012,368
PHP1275681,187

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.77
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions27
▷ Named functions27100.00%
▷ Anonymous functions00.00%
Constants12
▷ Global constants12100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
26 PNG files occupy 0.65MB with 0.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
css/images/ui-icons_555555_256x240.png6.91KB4.18KB▼ 39.47%
assets/screenshot-8.png70.86KB25.41KB▼ 64.14%
assets/screenshot-7.png68.84KB25.01KB▼ 63.67%
css/images/ui-icons_cc0000_256x240.png4.51KB4.18KB▼ 7.28%
assets/screenshot-1.png53.48KB21.56KB▼ 59.69%