84% buddymeet

Code Review | BuddyMeet

WordPress plugin BuddyMeet scored84%from 54 tests.

About plugin

  • Plugin page: buddymeet
  • Plugin version: 2.3.0
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6.0-6.2.2
  • WordPress version: 6.3.1
  • First release: Feb 19, 2020
  • Latest release: Sep 28, 2023
  • Number of updates: 32
  • Update frequency: every 41.2 days
  • Top authors: tdakanalis (81.25%)cytechltd (21.88%)

Code review

54 tests

User reviews

14 reviews

Install metrics

1,000+ active /28,418 total downloads

Benchmarks

Plugin footprint 83% from 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.15MB] [CPU: ▼3.58ms] Passed 4 tests

Server-side resources used by BuddyMeet
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.63 ▲0.1736.45 ▼4.94
Dashboard /wp-admin3.44 ▲0.1445.74 ▼5.74
Posts /wp-admin/edit.php3.56 ▲0.2048.09 ▲4.61
Add New Post /wp-admin/post-new.php6.02 ▲0.1492.91 ▼5.93
Media Library /wp-admin/upload.php3.37 ▲0.1437.63 ▲2.31

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded
_buddymeet_enabled
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by BuddyMeet
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲6713.60 ▼0.771.66 ▼0.0640.02 ▼8.00
Dashboard /wp-admin2,206 ▲184.84 ▼0.98107.69 ▼4.4438.98 ▼6.74
Posts /wp-admin/edit.php2,089 ▼02.03 ▼0.0238.59 ▲4.1439.13 ▲1.27
Add New Post /wp-admin/post-new.php1,525 ▲623.19 ▲0.00662.36 ▲56.9453.66 ▲3.87
Media Library /wp-admin/upload.php1,391 ▲34.21 ▲0.0294.39 ▼10.7144.56 ▼3.10

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
These items require your attention
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_theysaidso_widget
    • widget_recent-posts
    • _buddymeet_enabled
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
Please take a closer look at the following
  • 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function buddymeet_get_current_action() in wp-content/plugins/buddymeet/templates/groups/single/buddymeet/legacy/home.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function buddymeet_get_current_action() in wp-content/plugins/buddymeet/templates/groups/single/buddymeet/home.php:2

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

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: jitsi, buddypress, conference, video, audio...

buddymeet/buddymeet.php 85% from 13 tests

Analyzing the main PHP file in "BuddyMeet" version 2.3.0
Please take the time to fix the following:
  • Requires at least: Required version must match the one declared in readme.txt ("4.5" instead of "4.6.0")
  • Description: The description should be shorter than 140 characters (currently 142 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin1,491 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
PHP93033111,305
JavaScript23514159
CSS25027

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.38
Average class complexity49.33
▷ Minimum class complexity37.00
▷ Maximum class complexity62.00
Average method complexity4.07
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods43
▷ Static methods49.30%
▷ Public methods3888.37%
▷ Protected methods00.00%
▷ Private methods511.63%
Functions42
▷ Named functions4197.62%
▷ Anonymous functions12.38%
Constants4
▷ Global constants00.00%
▷ Class constants4100.00%
▷ Public constants4100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/img/shadow.png3.32KB1.93KB▼ 42.02%