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.02MB] [CPU: ▲0.27ms] Passed 4 tests
An overview of server-side resources used by bbp profile information
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.31 ▼6.10 |
Dashboard /wp-admin | 3.32 ▲0.02 | 51.76 ▲0.87 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 51.97 ▲2.12 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 99.55 ▲4.94 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 42.26 ▲4.20 |
bbp-profile-information /wp-admin/options-general.php?page=bbp-profile-information | 3.21 | 36.70 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for bbp profile information
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.22 ▼1.36 | 1.80 ▲0.18 | 42.42 ▼9.41 |
Dashboard /wp-admin | 2,222 ▲19 | 5.83 ▼0.02 | 108.92 ▼9.97 | 46.50 ▼0.17 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▼0.05 | 37.31 ▼0.79 | 39.42 ▲2.42 |
Add New Post /wp-admin/post-new.php | 1,548 ▼0 | 23.36 ▲0.03 | 630.09 ▲10.12 | 53.52 ▼6.88 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.29 ▲0.08 | 112.61 ▼14.44 | 49.55 ▼2.03 |
bbp-profile-information /wp-admin/options-general.php?page=bbp-profile-information | 1,247 | 2.06 | 27.62 | 41.28 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbp-profile-information/includes/registration.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bbp-profile-information/bbp-profile-information.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbp-profile-information/includes/settings.php:85
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbp-profile-information/includes/display.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbp-profile-information/includes/profile.php:11
- > 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
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (The profile Page with City, State, Target and Level added as fields), #2 (The topic page with City and State shown without label, and Target and Level shown with label)
bbp-profile-information/bbp-profile-information.php Passed 13 tests
The primary PHP file in "bbp profile information" version 2.1.2 is used by WordPress to initiate all plugin functionality
120 characters long description:
adds fields to the bbp user profile and displays any combination of these under the authors avatar in topics and replies
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
No dangerous file extensions were detected728 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 201 | 93 | 728 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 16 | |
▷ Named functions | 16 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin