Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼9.54ms] Passed 4 tests
This is a short check of server-side resources used by bbPress Restrict Membership Forum & Private Replies for Members Only with Paid Memberships Pro
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 41.85 ▲1.48 |
Dashboard /wp-admin | 3.43 ▲0.08 | 49.56 ▼10.07 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 45.22 ▼9.39 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 83.75 ▼19.22 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 35.06 ▲0.52 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by bbPress Restrict Membership Forum & Private Replies for Members Only with Paid Memberships Pro
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.24 ▼0.11 | 1.76 ▲0.22 | 43.25 ▲2.30 |
Dashboard /wp-admin | 2,198 ▲21 | 5.59 ▼0.06 | 87.02 ▼1.20 | 42.29 ▼2.39 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.01 ▲0.06 | 33.37 ▼4.22 | 31.22 ▼2.00 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.40 ▲0.31 | 663.38 ▼12.42 | 62.31 ▲0.36 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▼0.04 | 94.67 ▼14.02 | 42.51 ▼5.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
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
Good news, no errors were detected
SRP 50% 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
The following issues need your attention
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/pmpro-bbpress/includes/options.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pmpro-bbpress/includes/options-membership-levels.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/pmpro-bbpress/includes/options.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/pmpro-bbpress/includes/shortcodes.php:71
- > 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 issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
5 plugin tags: discussion, pmpro, paid memberships pro, forum, bbpress
pmpro-bbpress/pmpro-bbpress.php Passed 13 tests
The main PHP script in "bbPress Restrict Membership Forum & Private Replies for Members Only with Paid Memberships Pro" version 1.7.4 is automatically included on every request by WordPress
104 characters long description:
Restrict access to bbPress for free or premium members by integrating bbPress with Paid Memberships Pro.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin698 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 121 | 213 | 615 |
PO File | 1 | 33 | 59 | 83 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
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 | 37 | |
▷ Named functions | 37 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin