Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.04MB] [CPU: ▼7.10ms] 75% from 4 tests
A check of server-side resources used by bbPress Members Only
The following require your attention
- CPU: The total CPU usage must kept under 500.00ms (currently 5,799.22ms on /wp-admin/admin.php?page=bpmemberoptionalsettings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.72 ▼1.22 |
Dashboard /wp-admin | 3.32 ▲0.01 | 54.67 ▲0.53 |
Posts /wp-admin/edit.php | 3.18 ▼0.18 | 37.26 ▼16.95 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 88.12 ▼10.11 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.29 ▼0.13 |
Optional Settings /wp-admin/admin.php?page=bpmemberoptionalsettings | 4.52 | 5,799.22 |
bbPress Members Only /wp-admin/admin.php?page=bbpmemberonlyfree | 3.74 | 42.01 |
Login Notification /wp-admin/admin.php?page=bbpmembersfreeloginnotification | 3.74 | 35.34 |
Server storage [IO: ▲0.04MB] [DB: ▲0.10MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
bbpmof_user_first_run_guide_bar |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for bbPress Members Only
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲74 | 14.34 ▼0.01 | 1.80 ▲0.16 | 43.48 ▲1.23 |
Dashboard /wp-admin | 2,226 ▲49 | 5.50 ▼0.09 | 96.34 ▲2.15 | 41.97 ▲0.76 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 1.95 ▼0.01 | 33.00 ▼6.95 | 35.50 ▼1.51 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 23.03 ▼0.21 | 729.00 ▲24.44 | 68.55 ▲9.75 |
Media Library /wp-admin/upload.php | 1,431 ▲28 | 4.20 ▼0.03 | 102.28 ▲1.49 | 44.15 ▲0.57 |
Optional Settings /wp-admin/admin.php?page=bpmemberoptionalsettings | 1,157 | 1.99 | 21.72 | 36.42 |
bbPress Members Only /wp-admin/admin.php?page=bbpmemberonlyfree | 1,159 | 1.99 | 23.65 | 28.55 |
Login Notification /wp-admin/admin.php?page=bbpmembersfreeloginnotification | 1,150 | 1.99 | 23.22 | 29.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.10MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_recent-comments
- bbpmof_user_first_run_guide_bar
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/bbp-members-only/bbpmembersonlypagesettings.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
bbp-members-only/bbp-members-only.php 92% from 13 tests
The primary PHP file in "bbPress Members Only" version 1.7.9 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 275 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
Everything looks great! No dangerous files found in this plugin747 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 131 | 58 | 747 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 15 | |
▷ Named functions | 15 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/new.png | 3.48KB | 1.90KB | ▼ 45.54% |