84% buddyforms-members

Code Review | BuddyPress & BuddyBoss Member Profile Forms

WordPress plugin BuddyPress & BuddyBoss Member Profile Forms scored84%from 54 tests.

About plugin

  • Plugin page: buddyforms-members
  • Plugin version: 1.5.5
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9-6.2.2
  • WordPress version: 6.3.1
  • First release: Apr 4, 2014
  • Latest release: Jul 31, 2023
  • Number of updates: 407
  • Update frequency: every 8.4 days
  • Top authors: svenl77 (94.35%)gfirem (5.9%)

Code review

54 tests

User reviews

20 reviews

Install metrics

500+ active /50,761 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▲0.06MB] [CPU: ▼2.83ms] Passed 4 tests

An overview of server-side resources used by BuddyPress & BuddyBoss Member Profile Forms
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0040.28 ▼2.00
Dashboard /wp-admin3.42 ▲0.1252.27 ▼0.78
Posts /wp-admin/edit.php3.47 ▲0.1249.58 ▼3.10
Add New Post /wp-admin/post-new.php5.94 ▲0.0590.38 ▼5.44
Media Library /wp-admin/upload.php3.28 ▲0.0541.59 ▲4.53
Install Plugins /wp-admin/plugins.php?page=buddyforms_members_tgmpa-install-plugins3.3535.13

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for BuddyPress & BuddyBoss Member Profile Forms
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,820 ▲3414.68 ▲0.321.86 ▼0.9046.31 ▼0.35
Dashboard /wp-admin2,223 ▲465.62 ▲0.0396.77 ▼4.8647.91 ▲3.97
Posts /wp-admin/edit.php2,143 ▲432.02 ▲0.0339.44 ▲0.3538.86 ▲3.80
Add New Post /wp-admin/post-new.php1,553 ▲14723.32 ▲5.51647.31 ▼14.7052.98 ▲6.08
Media Library /wp-admin/upload.php1,442 ▲424.24 ▼0.02100.87 ▲2.6848.71 ▲2.20
Install Plugins /wp-admin/plugins.php?page=buddyforms_members_tgmpa-install-plugins1,0022.0625.7830.35

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
  • 2× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/buddyforms-members/includes/templates/buddyforms/members/members-post-create.php
    • > /wp-content/plugins/buddyforms-members/includes/templates/buddyforms/members/members-post-display.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

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: buddypress, member forms, buddypress profile, buddypress registration, buddyboss

buddyforms-members/loader.php 92% from 13 tests

The main PHP script in "BuddyPress & BuddyBoss Member Profile Forms" version 1.5.5 is automatically included on every request by WordPress
Please take the time to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("buddyforms-members.php" instead of "loader.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin7,962 lines of code in 36 files:
LanguageFilesBlank linesComment linesLines of code
PO File191,7052,3215,631
PHP115723172,220
CSS213854
JSON10023
XML10019
JavaScript21015

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.56
Average class complexity44.89
▷ Minimum class complexity1.00
▷ Maximum class complexity206.00
Average method complexity4.24
▷ Minimum method complexity1.00
▷ Maximum method complexity40.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes9
▷ Abstract classes00.00%
▷ Concrete classes9100.00%
▷ Final classes00.00%
Methods119
▷ Static methods54.20%
▷ Public methods9680.67%
▷ Protected methods2319.33%
▷ Private methods00.00%
Functions65
▷ Named functions5787.69%
▷ Anonymous functions812.31%
Constants6
▷ Global constants350.00%
▷ Class constants350.00%
▷ Public constants3100.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
There were not PNG files found in your plugin