Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.52MB] [CPU: ▼4.11ms] Passed 4 tests
This is a short check of server-side resources used by BuddyPress Builder for Elementor - BuddyBuilder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.01 ▲0.54 | 50.81 ▲1.54 |
Dashboard /wp-admin | 3.84 ▲0.49 | 49.93 ▼15.64 |
Posts /wp-admin/edit.php | 3.89 ▲0.53 | 51.51 ▲1.07 |
Add New Post /wp-admin/post-new.php | 6.42 ▲0.53 | 94.29 ▼3.39 |
Media Library /wp-admin/upload.php | 3.76 ▲0.53 | 41.12 ▲3.12 |
Server storage [IO: ▲3.84MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 217 new files
Database: no new tables, 8 new options
New WordPress options |
---|
buddybuilder_db_version |
widget_recent-posts |
bp_nouveau_appearance |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by BuddyPress Builder for Elementor - BuddyBuilder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲80 | 14.23 ▼0.36 | 1.88 ▲0.03 | 38.24 ▼4.70 |
Dashboard /wp-admin | 2,207 ▲30 | 5.55 ▼0.02 | 84.47 ▼8.16 | 40.31 ▼2.49 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 2.08 ▲0.05 | 39.18 ▲2.71 | 37.69 ▼0.88 |
Add New Post /wp-admin/post-new.php | 1,547 ▲19 | 18.02 ▼4.97 | 604.45 ▼89.54 | 66.46 ▲10.99 |
Media Library /wp-admin/upload.php | 1,415 ▲12 | 4.15 ▼0.01 | 103.92 ▲0.13 | 43.74 ▼2.31 |
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
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/stax-buddy-builder/vendor/appsero/client/src/Client.php+164
require_once(wp-content/plugins/stax-buddy-builder/vendor/appsero/client/src/License.php): failed to open stream: No such file or directory
- This plugin does not fully uninstall, leaving 9 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- bp_nouveau_appearance
- widget_theysaidso_widget
- buddybuilder_db_version
- widget_recent-comments
- recovery_mode_email_last_sent
Smoke tests 50% 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 everything seems fine, this is not an exhaustive test
SRP 0% 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 take a closer look at the following
- 25× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/stax-buddy-builder/templates/preview/buddypress/profile-group/type.php
- > /wp-content/plugins/stax-buddy-builder/templates/preview/buddyboss/profile-group/navigation.php
- > /wp-content/plugins/stax-buddy-builder/templates/preview/buddypress/profile-member/meta.php
- > /wp-content/plugins/stax-buddy-builder/templates/preview/buddypress/profile-group/description.php
- > /wp-content/plugins/stax-buddy-builder/templates/preview/buddypress/profile-group/status.php
- > /wp-content/plugins/stax-buddy-builder/templates/preview/buddypress/groups-directory/filters.php
- > /wp-content/plugins/stax-buddy-builder/templates/preview/buddypress/members-directory/filters.php
- > /wp-content/plugins/stax-buddy-builder/templates/preview/buddypress/profile-group/name.php
- > /wp-content/plugins/stax-buddy-builder/templates/preview/buddyboss/sitewide-activity/navigation.php
- > /wp-content/plugins/stax-buddy-builder/templates/preview/buddypress/profile-member/buttons.php
- 49× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/stax-buddy-builder/templates/preview/buddyboss/profile-group/leadership.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function bpb_get_shortcode_str() in wp-content/plugins/stax-buddy-builder/templates/buddypress/activity/index.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function bpb_is_buddyboss() in wp-content/plugins/stax-buddy-builder/templates/buddypress/groups/single/admin.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function bpb_get_shortcode_str() in wp-content/plugins/stax-buddy-builder/templates/buddypress/members/single/home.php:9
- > PHP Notice
Undefined variable: show_home in wp-content/plugins/stax-buddy-builder/templates/preview/buddypress/profile-group/navigation.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/stax-buddy-builder/templates/preview/buddypress/profile-member/avatar.php:3
- > PHP Notice
Undefined variable: key in wp-content/plugins/stax-buddy-builder/admin/pages/templates/parts/settings-box.php on line 10
- > PHP Warning
require_once(wp-content/plugins/stax-buddy-builder/vendor/appsero/client/vendor/tareq1988/wp-php-cs-fixer/loader.php): failed to open stream: No such file or directory in wp-content/plugins/stax-buddy-builder/vendor/appsero/client/.php-cs-fixer.dist.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function bp_get_template_part() in wp-content/plugins/stax-buddy-builder/templates/buddypress/groups/single/messages.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/stax-buddy-builder/templates/preview/buddypress/sitewide-activity/form.php:8
- > PHP Fatal error
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)
No browser errors were detected
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
6 plugin tags: bp builder, elementor buddypress, buddypress builder, buddypress, buddypress elementor...
stax-buddy-builder/loader.php 92% from 13 tests
The entry point to "BuddyPress Builder for Elementor - BuddyBuilder" version 1.7.4 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("stax-buddy-builder.php" instead of "loader.php")
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 plugin33,172 lines of code in 170 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 147 | 4,321 | 2,636 | 25,916 |
CSS | 14 | 909 | 356 | 6,587 |
Markdown | 1 | 82 | 0 | 255 |
JavaScript | 3 | 44 | 3 | 122 |
JSON | 2 | 0 | 0 | 108 |
XML | 1 | 6 | 11 | 95 |
SVG | 1 | 0 | 0 | 57 |
YAML | 1 | 6 | 0 | 32 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 12.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 100.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.00 |
Code structure | ||
---|---|---|
Namespaces | 19 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 70 | |
▷ Abstract classes | 1 | 1.43% |
▷ Concrete classes | 69 | 98.57% |
▷ Final classes | 3 | 4.35% |
Methods | 504 | |
▷ Static methods | 30 | 5.95% |
▷ Public methods | 386 | 76.59% |
▷ Protected methods | 77 | 15.28% |
▷ Private methods | 41 | 8.13% |
Functions | 50 | |
▷ Named functions | 32 | 64.00% |
▷ Anonymous functions | 18 | 36.00% |
Constants | 20 | |
▷ Global constants | 9 | 45.00% |
▷ Class constants | 11 | 55.00% |
▷ Public constants | 11 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
9 PNG files occupy 0.07MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/group-avatar-28x28.png | 2.30KB | 0.60KB | ▼ 73.94% |
(invalid) assets/img/member-avatar-32x32.png | 1.04KB | 0.00KB | ▼ 100.00% |
(invalid) assets/img/member-avatar.png | 2.08KB | 0.00KB | ▼ 100.00% |
assets/img/group-avatar-32x32.png | 2.46KB | 0.64KB | ▼ 74.21% |
assets/img/group-avatar-50x50.png | 1.16KB | 0.72KB | ▼ 38.37% |