10% bbb-wplms

Code Review | Wplms bigbluebutton addon

WordPress plugin Wplms bigbluebutton addon scored10%from 54 tests.

About plugin

  • Plugin page: bbb-wplms
  • Plugin version: 1.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6-5.3.2
  • WordPress version: 6.3.1
  • First release: May 22, 2017
  • Latest release: Jan 17, 2020
  • Number of updates: 7
  • Update frequency: every 139.0 days
  • Top authors: VibeThemes (100%)

Code review

54 tests

User reviews

1 review

Install metrics

900+ active /41,875 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
  • Install procedure validation failed for this plugin
    • > Deprecated in wp-includes/class-wp-hook.php+310
    Non-static method Wplms_Bbb::activate() should not be called statically

Server metrics [RAM: ▲0.30MB] [CPU: ▼5.10ms] Passed 4 tests

Server-side resources used by Wplms bigbluebutton addon
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.78 ▲0.3135.73 ▼3.74
Dashboard /wp-admin3.62 ▲0.2851.34 ▼9.71
Posts /wp-admin/edit.php3.73 ▲0.3849.94 ▲1.57
Add New Post /wp-admin/post-new.php6.20 ▲0.3185.59 ▼6.63
Media Library /wp-admin/upload.php3.54 ▲0.3134.79 ▼0.30

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for Wplms bigbluebutton addon
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲6913.60 ▼0.771.72 ▲0.1641.51 ▲2.45
Dashboard /wp-admin2,224 ▲384.85 ▼0.12103.26 ▼18.9038.60 ▼6.74
Posts /wp-admin/edit.php2,100 ▲112.01 ▼0.0235.26 ▲0.3637.53 ▲4.03
Add New Post /wp-admin/post-new.php1,543 ▲1523.21 ▲4.86651.89 ▲26.0858.99 ▼12.43
Media Library /wp-admin/upload.php1,403 ▲154.25 ▲0.0095.30 ▼1.6342.15 ▼0.83

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • This plugin cannot be uninstalled
    • > Deprecated in wp-includes/class-wp-hook.php+310
    Non-static method Wplms_Bbb::deactivate() should not be called statically
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
  • 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/bbb-wplms/wplms-bbb.php:35
    • > PHP Fatal error
      Uncaught Error: Call to undefined function bp_is_active() in wp-content/plugins/bbb-wplms/classes/class.groups.php:4

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
  • Screenshots: These screenshots do not have images: #1 (Meeting button), #2 (Meetings add,edit,delete popup .), #3 (Meeting countdown), #4 (Meeting preview), #5 (Meeting with popup style .), #6 (Meetings in profile.)
The official readme.txt is a good inspiration

bbb-wplms/wplms-bbb.php 85% from 13 tests

The main file in "Wplms bigbluebutton addon" v. 1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
  • Main file name: Name the main plugin file the same as the plugin slug ("bbb-wplms.php" instead of "wplms-bbb.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected1,831 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP32401441,588
JavaScript1174241
CSS1012

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.61
Average class complexity185.00
▷ Minimum class complexity11.00
▷ Maximum class complexity359.00
Average method complexity9.56
▷ Minimum method complexity1.00
▷ Maximum method complexity57.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods43
▷ Static methods12.33%
▷ Public methods43100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions4
▷ Named functions375.00%
▷ Anonymous functions125.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin