Benchmarks
Plugin footprint 82% 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.08MB] [CPU: ▼1.02ms] 75% from 4 tests
A check of server-side resources used by Coffeeblack BBPress Extended Lite
The following require your attention
- CPU: Try to keep total CPU usage under 500.00ms (currently 529.99ms on /wp-admin/admin.php?page=cb)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.10 | 40.92 ▼3.56 |
Dashboard /wp-admin | 3.43 ▲0.08 | 47.97 ▲3.10 |
Posts /wp-admin/edit.php | 3.54 ▲0.14 | 50.23 ▼4.83 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.07 | 91.67 ▲1.21 |
Media Library /wp-admin/upload.php | 3.35 ▲0.07 | 41.88 ▲7.71 |
BBPress /wp-admin/admin.php?page=cb/bbpress | 3.46 | 40.49 |
Coffeeblack /wp-admin/admin.php?page=cb | 3.29 | 529.99 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
cb_bbpress_version |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Coffeeblack BBPress Extended Lite
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,932 ▲186 | 13.67 ▼0.62 | 8.03 ▲6.13 | 42.43 ▼1.58 |
Dashboard /wp-admin | 2,215 ▲24 | 5.80 ▲0.73 | 105.05 ▲0.08 | 78.95 ▲36.91 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 2.01 ▲0.00 | 36.35 ▼0.24 | 33.38 ▼0.45 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 23.25 ▼0.12 | 800.07 ▲143.52 | 75.18 ▲24.38 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.22 ▼0.08 | 96.91 ▼12.44 | 78.40 ▲35.63 |
BBPress /wp-admin/admin.php?page=cb/bbpress | 1,134 | 1.70 | 25.37 | 48.97 |
Coffeeblack /wp-admin/admin.php?page=cb | 796 | 2.01 | 25.42 | 23.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- widget_recent-comments
- cb_bbpress_version
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=cb
- > Warning in wp-content/plugins/coffeeblack-bbpress-extended/admin/cb_base/cb_base.php+50
file_get_contents(http://www.coffeeblack.co.uk/wordpress/main_page.txt): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/coffeeblack-bbpress-extended/bbpress/cb-bbp-loop-forums.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function bbp_breadcrumb() in wp-content/plugins/coffeeblack-bbpress-extended/bbpress/cb-bbpress-content-single-topic.php:14
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
No tags were found
coffeeblack-bbpress-extended/cb_bbpress.php 77% from 13 tests
The main PHP script in "Coffeeblack BBPress Extended Lite" version 1.1.0 is automatically included on every request by WordPress
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 171 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("coffeeblack-bbpress-extended.php" instead of "cb_bbpress.php")
- 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin1,018 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 157 | 159 | 797 |
JavaScript | 2 | 27 | 16 | 123 |
CSS | 2 | 8 | 0 | 98 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
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 | 31 | |
▷ Named functions | 31 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
2 PNG files occupy 0.20MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/cb_base/logo.png | 0.91KB | 1.00KB | 0.00% |
admin/cb_bbpress_modules.png | 199.59KB | 73.77KB | ▼ 63.04% |