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
Installer ran successfully
Server metrics [RAM: ▼0.15MB] [CPU: ▼16.79ms] Passed 4 tests
Server-side resources used by bbPress - New UI
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 28.61 ▼10.04 |
Dashboard /wp-admin | 3.51 ▲0.20 | 51.13 ▲4.77 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 37.87 ▼8.26 |
Add New Post /wp-admin/post-new.php | 4.80 ▼1.09 | 43.15 ▼53.63 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 36.79 ▲6.69 |
bbPress New UI /wp-admin/options-general.php?page=bbpress_new_ui | 3.37 | 29.96 |
Server storage [IO: ▲1.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 44 new files
Database: no new tables, 7 new options
New WordPress options |
---|
recovery_mode_email_last_sent |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by bbPress - New UI
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,693 ▼53 | 14.72 ▲0.45 | 1.08 ▼0.58 | 22.61 ▼17.41 |
Dashboard /wp-admin | 2,224 ▲32 | 5.84 ▲0.89 | 99.71 ▼11.54 | 40.09 ▼0.61 |
Posts /wp-admin/edit.php | 1,093 ▼993 | 1.14 ▼0.90 | 7.02 ▼29.65 | 26.62 ▼4.25 |
Add New Post /wp-admin/post-new.php | 45 ▼1,474 | 0.44 ▼23.13 | 0.09 ▼670.47 | 10.65 ▼42.78 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.29 ▲0.11 | 98.06 ▼0.40 | 72.35 ▲28.11 |
bbPress New UI /wp-admin/options-general.php?page=bbpress_new_ui | 862 | 2.19 | 25.48 | 26.97 |
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
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- recovery_mode_email_last_sent
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bbpress_new_ui
- > Notice in wp-content/plugins/bbpress-new-ui/bbpress-new-ui.php+279
Trying to access array offset on value of type bool
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 take a closer look at the following
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbpress-new-ui/inc/replyui/lock.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbpress-new-ui/inc/adminui/replies.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bbpress-new-ui/inc/online-status/online.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbpress-new-ui/inc/forumui/new-forum.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbpress-new-ui/inc/adminui/replies.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbpress-new-ui/inc/replyui/functions.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bbpress-new-ui/bbpress-new-ui.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: There are too many tags (15 tag instead of maximum 10)
bbpress-new-ui/bbpress-new-ui.php Passed 13 tests
The primary PHP file in "bbPress - New UI" version 3.5.0.2 is used by WordPress to initiate all plugin functionality
85 characters long description:
A great plugin completely changes the entire design of bbpress in light or dark color
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
There were no executable files found in this plugin8,630 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 172 | 158 | 5,236 |
JSON | 1 | 0 | 0 | 2,106 |
PHP | 9 | 317 | 249 | 876 |
PO File | 7 | 75 | 89 | 286 |
SVG | 1 | 0 | 0 | 126 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 4.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
11 PNG files occupy 0.73MB with 0.19MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/img/forum-icon-sticky.png | 0.40KB | 0.38KB | ▼ 4.43% |
Screenshots/screenshot-3.png | 209.69KB | 86.74KB | ▼ 58.63% |
inc/img/locked-icon-white.png | 0.34KB | 0.30KB | ▼ 9.88% |
Screenshots/screenshot-5.png | 107.66KB | 56.01KB | ▼ 47.97% |
inc/img/locked-icon-dark.png | 0.34KB | 0.30KB | ▼ 9.88% |