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 gracefully, with no errors
Server metrics [RAM: ▲0.24MB] [CPU: ▲6.97ms] Passed 4 tests
Analyzing server-side resources used by bbp style pack
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 47.59 ▲11.20 |
Dashboard /wp-admin | 3.54 ▲0.24 | 56.77 ▲11.07 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 57.36 ▲9.85 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.24 | 90.41 ▼4.24 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 47.29 ▲15.25 |
Server storage [IO: ▲9.27MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 242 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by bbp style pack
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.67 ▲0.46 | 1.78 ▲0.25 | 36.20 ▼6.05 |
Dashboard /wp-admin | 2,198 ▲21 | 5.63 ▼0.00 | 96.91 ▼1.88 | 41.79 ▼0.35 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.96 ▲0.00 | 39.05 ▼1.56 | 35.37 ▼2.91 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.35 ▼0.38 | 656.43 ▲69.18 | 51.26 ▲0.26 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.24 ▲0.14 | 96.73 ▼0.02 | 43.90 ▲4.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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 take a closer look at the following
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/bbp-style-pack/generator/class-generator-api.php
- > /wp-content/plugins/bbp-style-pack/generator/class-rest-api.php
- > /wp-content/plugins/bbp-style-pack/css/styles-quote.php
- 12× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'bspbbPressModToolsPlugin' not found in wp-content/plugins/bbp-style-pack/modtools/moderation.php:2
- > PHP Fatal error
Uncaught Error: Class 'bspbbPressModToolsPlugin' not found in wp-content/plugins/bbp-style-pack/modtools/styles.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bbp-style-pack/css/styles.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/bbp-style-pack/modtools/users.php:8
- > PHP Fatal error
Uncaught Error: Class 'bspbbPressModToolsPlugin' not found in wp-content/plugins/bbp-style-pack/modtools/notifications.php:2
- > PHP Fatal error
Uncaught Error: Class 'bspbbPressModToolsPlugin' not found in wp-content/plugins/bbp-style-pack/modtools/bbpress.php:2
- > PHP Fatal error
Uncaught Error: Class 'bspbbPressModToolsPlugin' not found in wp-content/plugins/bbp-style-pack/modtools/report.php:2
- > PHP Fatal error
Uncaught Error: Class 'bspbbPressModToolsPlugin' not found in wp-content/plugins/bbp-style-pack/modtools/admin.php:2
- > PHP Fatal error
Uncaught Error: Class 'bspbbPressModToolsPlugin' not found in wp-content/plugins/bbp-style-pack/modtools/scripts.php:2
- > PHP Fatal error
Uncaught Error: Class 'bspbbPressModToolsPlugin' not found in wp-content/plugins/bbp-style-pack/modtools/settings.php:2
- > 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 97% 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:
- Screenshots: Screenshot #1 (a sample settings page) image not found
bbp-style-pack/bbp-style-pack.php Passed 13 tests
The main PHP file in "bbp style pack" ver. 5.7.1 adds more information about the plugin and also serves as the entry point for this plugin
49 characters long description:
This plugin adds styling and features to bbPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected70,391 lines of code in 137 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 6 | 9,636 | 13,431 | 38,249 |
PHP | 101 | 6,046 | 3,524 | 29,301 |
JavaScript | 18 | 141 | 90 | 2,247 |
JSON | 8 | 2 | 0 | 402 |
CSS | 4 | 50 | 14 | 192 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 25.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 114.00 |
Average method complexity | 4.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 116 | |
▷ Static methods | 15 | 12.93% |
▷ Public methods | 98 | 84.48% |
▷ Protected methods | 1 | 0.86% |
▷ Private methods | 17 | 14.66% |
Functions | 384 | |
▷ Named functions | 381 | 99.22% |
▷ Anonymous functions | 3 | 0.78% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
18 PNG files occupy 0.58MB with 0.29MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/replies-admin.png | 63.28KB | 19.77KB | ▼ 68.76% |
images/lock.png | 1.86KB | 1.87KB | 0.00% |
images/topic-counts.png | 52.94KB | 17.39KB | ▼ 67.16% |
images/forum-description.PNG | 5.82KB | 3.99KB | ▼ 31.36% |
images/folder_new.png | 3.09KB | 0.43KB | ▼ 86.12% |