Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.24MB] [CPU: ▼1.32ms] Passed 4 tests
A check of server-side resources used by BuddyPress Members Only
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 40.51 ▼4.11 |
Dashboard /wp-admin | 3.54 ▲0.23 | 61.56 ▲9.35 |
Posts /wp-admin/edit.php | 3.63 ▲0.28 | 54.38 ▼1.14 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.34 | 88.93 ▼8.44 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 44.51 ▲8.43 |
RSS Restricts /wp-admin/admin.php?page=bpmemberrssrestricts | 3.39 | 36.91 |
BP Components /wp-admin/admin.php?page=bpmembercomponentonly | 3.39 | 33.35 |
Knowledge Base /wp-admin/admin.php?page=membersonlyfaq | 3.44 | 32.60 |
Restrict Post Types /wp-admin/admin.php?page=bpMembersOnlyFreePostTypesSettings | 3.39 | 36.38 |
Buddypress Members Only /wp-admin/admin.php?page=bpmemberonly | 3.43 | 397.85 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 11 new options
New WordPress options |
---|
bpmo_user_first_run_guide_bar_free |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
bpmoinitsetup |
saved_open_page_url |
widget_theysaidso_widget |
bpmoregisterpageurl |
bprestrictsbuddypresssection |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for BuddyPress Members Only
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,870 ▲109 | 14.24 ▼0.29 | 1.70 ▼0.03 | 39.52 ▼4.12 |
Dashboard /wp-admin | 2,236 ▲59 | 5.62 ▲0.06 | 95.76 ▲3.75 | 41.55 ▼0.72 |
Posts /wp-admin/edit.php | 2,141 ▲44 | 2.04 ▲0.05 | 39.61 ▲2.25 | 36.55 ▼0.15 |
Add New Post /wp-admin/post-new.php | 1,559 ▲33 | 23.25 ▲0.27 | 678.99 ▲38.14 | 53.76 ▲2.47 |
Media Library /wp-admin/upload.php | 1,441 ▲41 | 4.13 ▼0.07 | 109.81 ▲2.83 | 46.71 ▼6.93 |
RSS Restricts /wp-admin/admin.php?page=bpmemberrssrestricts | 912 | 1.99 | 25.02 | 27.44 |
BP Components /wp-admin/admin.php?page=bpmembercomponentonly | 896 | 2.16 | 23.27 | 24.74 |
Knowledge Base /wp-admin/admin.php?page=membersonlyfaq | 1,173 | 2.15 | 29.26 | 31.75 |
Restrict Post Types /wp-admin/admin.php?page=bpMembersOnlyFreePostTypesSettings | 947 | 2.12 | 23.89 | 28.99 |
Buddypress Members Only /wp-admin/admin.php?page=bpmemberonly | 1,386 | 2.04 | 27.62 | 36.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 11 options in the database
- bprestrictsbuddypresssection
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- bpmoregisterpageurl
- theysaidso_admin_options
- bpmo_user_first_run_guide_bar_free
- bpmoinitsetup
- saved_open_page_url
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Please fix the following items
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/buddypress-members-only/admin/howto.php
- > /wp-content/plugins/buddypress-members-only/rules/rssrestrictssetting.php
- > /wp-content/plugins/buddypress-members-only/componentsettings.php
- > /wp-content/plugins/buddypress-members-only/index.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
buddypress-members-only/buddypress-members-only.php 85% from 13 tests
"BuddyPress Members Only" version 3.3.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Description: The description should be shorter than 140 characters (currently 491 characters long)
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 plugin1,703 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 265 | 183 | 1,635 |
PO File | 1 | 7 | 7 | 36 |
JavaScript | 1 | 0 | 0 | 23 |
CSS | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 29 | |
▷ Named functions | 29 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/old.png | 5.78KB | 1.61KB | ▼ 72.15% |
images/buymeacoffee.png | 11.15KB | 5.58KB | ▼ 49.99% |
images/new.png | 3.48KB | 1.90KB | ▼ 45.54% |