78% uberkeen

Code Review | Uberkeen WebRTC Video Call Button

WordPress plugin Uberkeen WebRTC Video Call Button scored78%from 54 tests.

About plugin

  • Plugin page: uberkeen
  • Plugin version: 2...
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4.2-4.4.2
  • WordPress version: 6.3.1
  • First release: Mar 3, 2016
  • Latest release: Mar 18, 2016
  • Number of updates: 20
  • Update frequency: every 1.4 days
  • Top authors: jeanduez (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /790 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.02MB] [CPU: ▼3.81ms] Passed 4 tests

Server-side resources used by Uberkeen WebRTC Video Call Button
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0243.47 ▲3.26
Dashboard /wp-admin3.33 ▲0.0249.45 ▼4.51
Posts /wp-admin/edit.php3.38 ▲0.0252.76 ▼1.35
Add New Post /wp-admin/post-new.php5.91 ▲0.0289.30 ▼12.63
Media Library /wp-admin/upload.php3.25 ▲0.0242.21 ▲4.11
Uberkeen Options /wp-admin/options-general.php?page=uberkeen/uberkeen.php3.1942.19

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Uberkeen WebRTC Video Call Button
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.34 ▼0.001.84 ▼0.0746.39 ▲2.35
Dashboard /wp-admin2,196 ▲195.59 ▼0.0892.11 ▲0.3440.55 ▼4.02
Posts /wp-admin/edit.php2,104 ▲72.04 ▲0.0537.33 ▼0.9632.04 ▼2.65
Add New Post /wp-admin/post-new.php1,531 ▲523.10 ▼0.03691.32 ▼2.7358.17 ▲5.82
Media Library /wp-admin/upload.php1,407 ▲74.13 ▼0.02101.64 ▲1.1043.76 ▼2.99
Uberkeen Options /wp-admin/options-general.php?page=uberkeen/uberkeen.php8961.9724.8831.00

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
    • > GET request to /wp-admin/options-general.php?page=uberkeen/uberkeen.php
    • > Notice in wp-content/plugins/uberkeen/uberkeen.php+120
    Undefined variable: maclef
    • > GET request to /wp-admin/options-general.php?page=uberkeen/uberkeen.php
    • > Notice in wp-content/plugins/uberkeen/uberkeen.php+120
    Undefined variable: clef
    • > GET request to /wp-admin/options-general.php?page=uberkeen/uberkeen.php
    • > Notice in wp-content/plugins/uberkeen/uberkeen.php+232
    Undefined variable: mes_above
    • > GET request to /wp-admin/options-general.php?page=uberkeen/uberkeen.php
    • > Notice in wp-content/plugins/uberkeen/uberkeen.php+233
    Undefined variable: mes_open
    • > GET request to /wp-admin/options-general.php?page=uberkeen/uberkeen.php
    • > Notice in wp-content/plugins/uberkeen/uberkeen.php+234
    Undefined variable: button_style

SRP 50% 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
Please fix the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/uberkeen/uberkeen.php:10

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 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: audio and video getusermedia call elements, webrtc video call plugin, realtime video conversation button, realtime and plugin free webrtc video calls, video stream sharing using rtcweb

uberkeen/uberkeen.php 92% from 13 tests

The entry point to "Uberkeen WebRTC Video Call Button" version 2... is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Version: The version number should be digits and periods (ex. "1.0.3" instead of "2...")

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
Good job! No executable or dangerous file extensions detected144 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP111616144

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.21
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected