Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼10.79ms] Passed 4 tests
Analyzing server-side resources used by Private groups
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.36 ▲0.89 | 47.70 ▲2.47 |
Dashboard /wp-admin | 4.18 ▲0.88 | 56.51 ▲2.53 |
Posts /wp-admin/edit.php | 4.23 ▲0.88 | 52.54 ▲1.68 |
Add New Post /wp-admin/post-new.php | 3.97 ▼1.92 | 43.23 ▼49.84 |
Media Library /wp-admin/upload.php | 4.04 ▲0.81 | 45.80 ▲8.43 |
bbp Private Groups /wp-admin/options-general.php?page=bbp-private-group-settings | 4.01 | 41.36 |
Server storage [IO: ▲0.74MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 36 new files
Database: no new tables, 11 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
recovery_mode_email_last_sent |
widget_recent-comments |
db_upgraded |
widget_pg_topics_widget |
can_compress_scripts |
widget_pg_replies_widget |
widget_recent-posts |
widget_pg_activity_widget |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Private groups
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.27 ▼0.23 | 1.67 ▼0.03 | 44.33 ▼2.06 |
Dashboard /wp-admin | 2,193 ▲16 | 5.54 ▼0.12 | 84.87 ▼21.34 | 37.72 ▼6.46 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 1.95 ▼0.07 | 35.72 ▼1.31 | 33.69 ▲0.75 |
Add New Post /wp-admin/post-new.php | 45 ▼1,481 | 0.42 ▼23.02 | 0.39 ▼669.31 | 9.39 ▼55.82 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.16 ▼0.04 | 104.88 ▼5.07 | 84.33 ▲35.45 |
bbp Private Groups /wp-admin/options-general.php?page=bbp-private-group-settings | 1,006 | 2.01 | 28.09 | 33.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 11 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- recovery_mode_email_last_sent
- theysaidso_admin_options
- widget_pg_activity_widget
- widget_pg_replies_widget
- widget_recent-posts
- widget_recent-comments
- widget_pg_forums_widget
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 14× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbp-private-groups/includes/user-profile.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/bbp-private-groups/includes/topics.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bbp-private-groups/bbp-private-groups.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbp-private-groups/includes/settings.php:398
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/bbp-private-groups/includes/mark-as-read-filter.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/bbp-private-groups/includes/search.php:143
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbp-private-groups/includes/pg_forum_widgets.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbp-private-groups/includes/functions.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbp-private-groups/includes/meta-box.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/bbp-private-groups/includes/shortcodes.php:9
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: forum, bbp, bbpress, private, groups
bbp-private-groups/bbp-private-groups.php 92% from 13 tests
The entry point to "Private groups" version 3.9.4 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 151 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected5,466 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 1,622 | 1,213 | 4,392 |
PO File | 1 | 273 | 313 | 1,074 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 16.40 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 3.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 4 | 13.79% |
▷ Public methods | 27 | 93.10% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 6.90% |
Functions | 102 | |
▷ Named functions | 102 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin