Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.47ms] Passed 4 tests
A check of server-side resources used by Wbcom Designs – Shortcodes & Elementor Widgets For BuddyPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.80 ▼3.29 |
Dashboard /wp-admin | 3.31 ▼0.04 | 43.70 ▼18.78 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.41 ▲1.31 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 79.96 ▼6.88 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.29 ▼0.93 |
BP Shortcodes /wp-admin/admin.php?page=shortcodes-for-buddypress | 3.01 | 21.62 |
Support /wp-admin/admin.php?page=wbcom-support-page | 3.01 | 23.36 |
Our Plugins /wp-admin/admin.php?page=wbcom-plugins-page | 3.01 | 21.60 |
Our Themes /wp-admin/admin.php?page=wbcom-themes-page | 3.01 | 21.90 |
General /wp-admin/admin.php?page=wbcomplugins | 3.00 | 23.45 |
Server storage [IO: ▲0.83MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 90 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Wbcom Designs – Shortcodes & Elementor Widgets For BuddyPress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲54 | 14.35 ▲0.00 | 1.76 ▼0.05 | 43.14 ▼10.18 |
Dashboard /wp-admin | 2,195 ▲18 | 5.59 ▼0.12 | 87.69 ▼16.80 | 38.97 ▼5.41 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.05 | 39.24 ▲4.60 | 35.26 ▲0.16 |
Add New Post /wp-admin/post-new.php | 1,536 ▼1 | 22.98 ▲5.02 | 664.92 ▲15.26 | 72.39 ▲9.11 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.22 ▲0.06 | 97.36 ▲1.63 | 41.30 ▼1.80 |
BP Shortcodes /wp-admin/admin.php?page=shortcodes-for-buddypress | 28 | 0.42 | 0.12 | 4.00 |
Support /wp-admin/admin.php?page=wbcom-support-page | 28 | 0.42 | 0.06 | 3.89 |
Our Plugins /wp-admin/admin.php?page=wbcom-plugins-page | 28 | 0.42 | 0.10 | 3.58 |
Our Themes /wp-admin/admin.php?page=wbcom-themes-page | 28 | 0.42 | 0.06 | 3.66 |
General /wp-admin/admin.php?page=wbcomplugins | 28 | 0.42 | 0.06 | 3.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% 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 output text when accessed directly:
- > /wp-content/plugins/shortcodes-for-buddypress/public/partials/shortcodes-for-buddypress-public-display.php
- 17× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/shortcodes-for-buddypress/admin/template/shortcodes-for-buddypress-activity-listing.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/shortcodes-for-buddypress/admin/class-shortcode-for-buddypress-user-review.php:311
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/shortcodes-for-buddypress/admin/template/shortcodes-for-buddypress-groups-listing.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/shortcodes-for-buddypress/admin/template/shortcodes-for-buddypress-notifications-listing.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/shortcodes-for-buddypress/admin/template/shortcodes-for-buddypress-general.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_current_user_id() in wp-content/plugins/shortcodes-for-buddypress/templates/nouveau/notifications/notifications-loop.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/shortcodes-for-buddypress/templates/legacy/members/bp-shortcodes-members.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/shortcodes-for-buddypress/admin/wbcom/templates/wbcom-license-page.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/shortcodes-for-buddypress/templates/legacy/activity/bp-shortcodes-activity.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function get_current_user_id() in wp-content/plugins/shortcodes-for-buddypress/templates/legacy/notifications/notifications-loop.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=shortcodes-for-buddypress
- > Network (severe)
wp-admin/admin.php?page=shortcodes-for-buddypress - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=wbcom-support-page
- > Network (severe)
wp-admin/admin.php?page=wbcom-support-page - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=wbcom-plugins-page
- > Network (severe)
wp-admin/admin.php?page=wbcom-plugins-page - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=wbcom-themes-page
- > Network (severe)
wp-admin/admin.php?page=wbcom-themes-page - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=wbcomplugins
- > Network (severe)
wp-admin/admin.php?page=wbcomplugins - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (It is displaying admin documentation page screenshot-1.png), #2 (It is displaying members listing based on given user id screenshot-2.png), #3 (It is displaying activity listing based on given user id and allow_posting=true screenshot-3.png), #4 (It is displaying groups listing based on given user id screenshot-4.png)
shortcodes-for-buddypress/shortcodes-for-buddypress.php 92% from 13 tests
The main PHP file in "Wbcom Designs – Shortcodes & Elementor Widgets For BuddyPress" ver. 2.6.5 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 245 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected11,197 lines of code in 52 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 41 | 788 | 1,542 | 6,062 |
JSON | 2 | 0 | 0 | 2,839 |
CSS | 3 | 291 | 55 | 1,628 |
JavaScript | 6 | 161 | 252 | 668 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 177.00 |
Average method complexity | 3.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 96 | |
▷ Static methods | 3 | 3.12% |
▷ Public methods | 85 | 88.54% |
▷ Protected methods | 6 | 6.25% |
▷ Private methods | 5 | 5.21% |
Functions | 38 | |
▷ Named functions | 12 | 31.58% |
▷ Anonymous functions | 26 | 68.42% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/image/bp-shortcode-icon-256x256.png | 5.27KB | 2.18KB | ▼ 58.54% |
admin/wbcom/assets/imgs/wbcom-offer-notice.png | 67.64KB | 32.40KB | ▼ 52.11% |
admin/wbcom/assets/imgs/logowbcom.png | 10.12KB | 3.87KB | ▼ 61.72% |