Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.04ms] Passed 4 tests
Server-side resources used by bbp user online status
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 41.90 ▲2.96 |
Dashboard /wp-admin | 3.33 ▲0.02 | 43.96 ▼12.70 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.31 ▲0.48 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 93.84 ▲6.32 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.51 ▲5.09 |
bbp user online status /wp-admin/options-general.php?page=bbp-user-online-status-settings | 3.20 | 28.84 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for bbp user online status
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.39 ▼1.20 | 1.85 ▲0.26 | 41.24 ▲1.83 |
Dashboard /wp-admin | 2,210 ▲19 | 4.88 ▼0.02 | 103.91 ▲0.09 | 37.73 ▼2.87 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.03 | 40.39 ▲0.13 | 35.58 ▼5.25 |
Add New Post /wp-admin/post-new.php | 1,546 ▲13 | 18.11 ▼4.96 | 626.81 ▲3.48 | 66.62 ▲8.07 |
Media Library /wp-admin/upload.php | 1,386 ▲1 | 4.21 ▲0.03 | 98.94 ▼0.86 | 43.24 ▼2.42 |
bbp user online status /wp-admin/options-general.php?page=bbp-user-online-status-settings | 791 | 2.03 | 24.41 | 26.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
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
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=bbp-user-online-status-settings
- > Notice in wp-content/plugins/bbp-user-online-status/includes/settings.php+52
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbp-user-online-status/includes/display.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bbp-user-online-status/bbp-user-online-status.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbp-user-online-status/includes/settings.php:44
- > 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)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: user offline, bbpress, forums, user online
bbp-user-online-status/bbp-user-online-status.php Passed 13 tests
The main file in "bbp user online status" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
63 characters long description:
displays user's online/offline status in bbpress topics/replies
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected125 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 24 | 16 | 107 |
Markdown | 1 | 9 | 0 | 18 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 9 | |
▷ Named functions | 9 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin