Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼10.82ms] Passed 4 tests
An overview of server-side resources used by bbPress forum utility pack
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.30 | 36.33 ▼6.06 |
Dashboard /wp-admin | 3.50 ▲0.20 | 36.69 ▼13.01 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 38.87 ▼9.49 |
Add New Post /wp-admin/post-new.php | 5.75 ▼0.14 | 76.85 ▼14.71 |
Media Library /wp-admin/upload.php | 3.51 ▲0.28 | 31.80 ▲0.57 |
Forum utility pack /wp-admin/options-general.php?page=bbp-utility | 3.48 | 33.44 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
bbPress forum utility pack: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲84 | 13.32 ▼1.48 | 1.69 ▼0.20 | 47.96 ▼4.24 |
Dashboard /wp-admin | 2,216 ▲28 | 5.79 ▲0.88 | 104.26 ▼13.93 | 39.40 ▼8.50 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.02 ▲0.06 | 36.92 ▲0.91 | 32.39 ▼3.69 |
Add New Post /wp-admin/post-new.php | 1,535 ▲15 | 18.15 ▼5.03 | 597.86 ▼59.98 | 54.70 ▼13.33 |
Media Library /wp-admin/upload.php | 1,404 ▲19 | 4.22 ▲0.04 | 96.55 ▼30.92 | 42.03 ▼4.67 |
Forum utility pack /wp-admin/options-general.php?page=bbp-utility | 1,047 | 2.15 | 22.81 | 30.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bbp-utility
- > Notice in wp-content/plugins/bbp-jp-utility/bbp-sub-utility.php+152
Trying to access array offset on value of type bool
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 items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bbp-jp-utility/templates/form-custom-lost-pass.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bbp-jp-utility/templates/form-custom-signup.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bbp-jp-utility/templates/form-custom-user-login.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (bbPress forum utility pack setting.), #2 (Forum unsubscribe link)
bbp-jp-utility/bbp-jp-utility.php 92% from 13 tests
The main file in "bbPress forum utility pack" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
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
No dangerous file extensions were detected1,784 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 172 | 186 | 1,511 |
PO File | 1 | 89 | 100 | 268 |
CSS | 1 | 2 | 4 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 142.50 |
▷ Minimum class complexity | 67.00 |
▷ Maximum class complexity | 218.00 |
Average method complexity | 5.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 7 | 11.29% |
▷ Public methods | 62 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin