Benchmarks
Plugin footprint 58% 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
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Error in wp-content/plugins/buddypress-groups-extras/bpge.php+109
Uncaught Error: Call to undefined function add_blog_option() in wp-content/plugins/buddypress-groups-extras/bpge.php:109
Stack trace:
#0 wp-includes/class-wp-hook.php(310): bpge_activation()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-admin/includes/plugin.php(693): do_action()
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.22ms] Passed 4 tests
Server-side resources used by BuddyPress Groups Extras
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.09 ▲0.04 |
Dashboard /wp-admin | 3.31 ▼0.04 | 47.00 ▼18.86 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.09 ▲0.71 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.84 ▼15.34 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.95 ▼2.71 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for BuddyPress Groups Extras
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.23 ▼1.35 | 2.16 ▲0.35 | 36.98 ▼3.03 |
Dashboard /wp-admin | 2,206 ▲18 | 5.86 ▼0.02 | 104.27 ▼8.65 | 39.48 ▼4.27 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 2.01 ▲0.03 | 37.07 ▼0.31 | 34.50 ▲1.98 |
Add New Post /wp-admin/post-new.php | 1,533 ▲2 | 23.30 ▲4.84 | 622.32 ▼14.50 | 52.86 ▼5.80 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.22 ▼0.01 | 99.20 ▲0.23 | 43.96 ▼0.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/buddypress-groups-extras/views/front/extras_fields_list.php
- 30× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Trying to get property 'ID' of non-object in wp-content/plugins/buddypress-groups-extras/views/admin/set_list.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/buddypress-groups-extras/views/front/extras_top_menu.php:1
- > PHP Fatal error
Uncaught Error: Class 'BP_Group_Extension' not found in wp-content/plugins/buddypress-groups-extras/core/loader.php:6
- > PHP Fatal error
Uncaught Error: Class 'BPGE_ADMIN_TAB' not found in wp-content/plugins/buddypress-groups-extras/core/admin_tabs/poll.php:7
- > PHP Notice
Undefined variable: def_set_fields in wp-content/plugins/buddypress-groups-extras/views/front/extras_fields_import.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'BPGE_ADMIN_TAB' not found in wp-content/plugins/buddypress-groups-extras/core/admin_tabs/sets.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/buddypress-groups-extras/views/admin/set_field_add.php:2
- > PHP Fatal error
Uncaught Error: Class 'BPGE_ADMIN_TAB' not found in wp-content/plugins/buddypress-groups-extras/core/admin_tabs/general.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/buddypress-groups-extras/views/front/extras_pages_list.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/buddypress-groups-extras/views/admin/set_add.php:2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: pages, custom pages, groups, extend, sets...
buddypress-groups-extras/bpge.php 92% from 13 tests
This is the main PHP file of "BuddyPress Groups Extras" version 3.6.10, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("buddypress-groups-extras.php" instead of "bpge.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin3,523 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 698 | 565 | 2,556 |
JavaScript | 3 | 125 | 62 | 515 |
CSS | 3 | 58 | 19 | 452 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 33.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 161.00 |
Average method complexity | 4.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 1 | 1.64% |
▷ Public methods | 61 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 41 | |
▷ Named functions | 41 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
No PNG files were detected