84% easy-video-call

Code Review | Easy Video Call [GWE]

WordPress plugin Easy Video Call [GWE] scored84%from 54 tests.

About plugin

  • Plugin page: easy-video-call
  • Plugin version: 1.0.9
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.4.1
  • WordPress version: 6.3.1
  • First release: Jun 30, 2022
  • Latest release: Dec 3, 2023
  • Number of updates: 22
  • Update frequency: every 23.7 days
  • Top authors: mukulwp (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

40+ active /713 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.07MB] [CPU: ▼8.14ms] Passed 4 tests

This is a short check of server-side resources used by Easy Video Call [GWE]
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0834.91 ▼8.26
Dashboard /wp-admin3.39 ▲0.0448.62 ▼9.36
Posts /wp-admin/edit.php3.50 ▲0.1450.06 ▲0.97
Add New Post /wp-admin/post-new.php5.99 ▲0.1083.18 ▼15.91
Media Library /wp-admin/upload.php3.31 ▲0.0832.37 ▲1.20
Easy Video Call /wp-admin/options-general.php?page=evc3.2833.70

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 13 new options
New WordPress options
evc_video_wrapper_bg_color
db_upgraded
widget_theysaidso_widget
evc_leave_call_text_color
evc_button_text_color
evc_mik_camera_text_color
theysaidso_admin_options
evc_mik_camera_bg_color
evc_leave_call_bg_color
widget_recent-posts
...

Browser metrics Passed 4 tests

An overview of browser requirements for Easy Video Call [GWE]
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,882 ▲13515.36 ▲0.9686.70 ▲85.0137.74 ▼9.44
Dashboard /wp-admin2,217 ▲375.80 ▲0.15102.21 ▲11.2143.60 ▲0.39
Posts /wp-admin/edit.php2,127 ▲302.25 ▲0.2542.27 ▲2.3335.84 ▼0.80
Add New Post /wp-admin/post-new.php1,545 ▲1923.72 ▲0.56650.86 ▼40.9627.72 ▼23.77
Media Library /wp-admin/upload.php1,425 ▲254.49 ▲0.2897.23 ▲0.0343.51 ▲2.25
Easy Video Call /wp-admin/options-general.php?page=evc1,6663.1972.3630.50

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 13 options in the database
    • evc_mik_camera_text_color
    • theysaidso_admin_options
    • db_upgraded
    • evc_video_wrapper_bg_color
    • evc_leave_call_text_color
    • widget_recent-comments
    • evc_button_text_color
    • can_compress_scripts
    • widget_recent-posts
    • evc_leave_call_bg_color
    • ...

Smoke tests 75% 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 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
The following issues need your attention
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/easy-video-call/easy-video-call.php:32

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
  • Screenshots: Screenshot #4 (Video Call Running) image not found
Please take inspiration from this readme.txt

easy-video-call/easy-video-call.php 92% from 13 tests

The primary PHP file in "Easy Video Call [GWE]" version 1.0.9 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
  • Description: The description should be shorter than 140 characters (currently 171 characters long)

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
There were no executable files found in this plugin436 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP14320260
JavaScript3271,32599
CSS4111077

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.22
Average class complexity4.00
▷ Minimum class complexity1.00
▷ Maximum class complexity7.00
Average method complexity1.55
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods11
▷ Static methods00.00%
▷ Public methods11100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected