Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/wp-bulletin-board/wp-bb.php+111
Trying to access array offset on value of type bool
Server metrics [RAM: ▼0.84MB] [CPU: ▼36.24ms] Passed 4 tests
This is a short check of server-side resources used by WP Bulletin Board
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.13 | 44.29 ▲4.88 |
Dashboard /wp-admin | 3.14 ▼0.20 | 24.68 ▼25.47 |
Posts /wp-admin/edit.php | 3.14 ▼0.25 | 25.08 ▼27.16 |
Add New Post /wp-admin/post-new.php | 3.14 ▼2.78 | 24.85 ▼86.96 |
Media Library /wp-admin/upload.php | 3.14 ▼0.12 | 27.35 ▼5.36 |
Tools /wp-admin/admin.php?page=wpbb_admin_tools | 3.14 | 31.63 |
Role Permissions /wp-admin/admin.php?page=wpbb_admin_role_permissions | 3.14 | 24.49 |
Create Subforum /wp-admin/admin.php?page=wpbb_admin_subforums | 3.14 | 25.08 |
WPBB Settings /wp-admin/options-general.php?page=wpbb_settings_page | 3.14 | 23.89 |
FAQ & Support /wp-admin/admin.php?page=wpbb_admin_help | 3.14 | 24.94 |
Create Forum /wp-admin/admin.php?page=wpbb_admin_forums | 3.14 | 26.20 |
Create Category /wp-admin/admin.php?page=wpbb_admin_categories | 3.14 | 26.32 |
WPBB Settings /wp-admin/admin.php?page=wpbb_settings_page | 3.14 | 27.15 |
Create Topic /wp-admin/admin.php?page=wpbb_admin_topics | 3.14 | 23.30 |
WPBB /wp-admin/admin.php?page=wpbb_admin | 3.14 | 32.80 |
Server storage [IO: ▲0.34MB] [DB: ▲0.01MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
It is recommended to fix the following issues
- There were 1 file (0.35KB) illegally modified outside of "wp-content/plugins/wp-bulletin-board/" and "wp-content/uploads/"
- (new file) wp-content/themes/twentytwentyone/wpbb-template.php
Filesystem: 52 new files
Database: 5 new tables, 11 new options
New tables |
---|
wp_wpbb_topics_unread |
wp_wpbb_categories |
wp_wpbb_posts |
wp_wpbb_topics |
wp_wpbb_messages |
New WordPress options |
---|
theysaidso_admin_options |
wpbb_twitter_options |
widget_theysaidso_widget |
db_upgraded |
wpbb_facebook_options |
wpbb_options |
can_compress_scripts |
wpbb_guest_options |
widget_recent-posts |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Bulletin Board
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,963 ▲217 | 13.63 ▼0.67 | 9.52 ▲7.66 | 41.11 ▼3.61 |
Dashboard /wp-admin | 2,264 ▲76 | 4.85 ▼0.99 | 97.49 ▼10.72 | 38.32 ▼3.88 |
Posts /wp-admin/edit.php | 2,141 ▲52 | 2.00 ▲0.00 | 37.57 ▼2.03 | 33.53 ▼4.78 |
Add New Post /wp-admin/post-new.php | 6,296 ▲4,782 | 21.55 ▼2.06 | 898.13 ▲252.94 | 63.55 ▲9.74 |
Media Library /wp-admin/upload.php | 1,446 ▲61 | 4.21 ▼0.11 | 95.04 ▼0.87 | 45.62 ▲3.50 |
Tools /wp-admin/admin.php?page=wpbb_admin_tools | 846 | 2.06 | 25.04 | 29.68 |
Role Permissions /wp-admin/admin.php?page=wpbb_admin_role_permissions | 991 | 2.03 | 25.84 | 25.24 |
Create Subforum /wp-admin/admin.php?page=wpbb_admin_subforums | 1,177 | 2.06 | 22.09 | 29.65 |
WPBB Settings /wp-admin/options-general.php?page=wpbb_settings_page | 1,337 | 1.68 | 23.20 | 27.25 |
FAQ & Support /wp-admin/admin.php?page=wpbb_admin_help | 926 | 2.01 | 21.98 | 28.23 |
Create Forum /wp-admin/admin.php?page=wpbb_admin_forums | 1,173 | 2.06 | 21.58 | 28.02 |
Create Category /wp-admin/admin.php?page=wpbb_admin_categories | 860 | 2.06 | 24.13 | 27.30 |
WPBB Settings /wp-admin/admin.php?page=wpbb_settings_page | 1,320 | 1.71 | 22.79 | 27.00 |
Create Topic /wp-admin/admin.php?page=wpbb_admin_topics | 1,612 | 6.57 | 123.06 | 54.87 |
WPBB /wp-admin/admin.php?page=wpbb_admin | 824 | 2.05 | 23.82 | 25.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5453
Function add_object_page is deprecated since version 4.5.0! Use add_menu_page() instead.
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 25% 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
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpbb_admin
- > User deprecated in wp-includes/functions.php+5453
Function add_object_page is deprecated since version 4.5.0! Use add_menu_page() instead.
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-bulletin-board/php/twitter/wpbb-twitter.php
- 36× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function wpbb_goback1() in wp-content/plugins/wp-bulletin-board/php/wpbb-view-message.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-bulletin-board/wp-bb.php:41
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-bulletin-board/php/wpbb-forum.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-bulletin-board/php/facebook/wpbb-facebook.php:7
- > PHP Notice
Undefined variable: wpbb_twitter_options in wp-content/plugins/wp-bulletin-board/php/twitter/wpbb-twitter.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function wpbb_goback1() in wp-content/plugins/wp-bulletin-board/php/wpbb-delete-topic.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wpbb_goback1() in wp-content/plugins/wp-bulletin-board/php/wpbb-create-topic.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_current_user_id() in wp-content/plugins/wp-bulletin-board/php/wpbb-reply-topic.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wpbb_goback1() in wp-content/plugins/wp-bulletin-board/php/wpbb-message-user.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function absint() in wp-content/plugins/wp-bulletin-board/php/wpbb-view-forum-topic.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
wp-bulletin-board/wp-bb.php 92% from 13 tests
The primary PHP file in "WP Bulletin Board" version 1.1.4 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-bulletin-board.php" instead of "wp-bb.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin8,035 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 35 | 1,080 | 1,055 | 7,703 |
CSS | 2 | 69 | 71 | 326 |
JavaScript | 1 | 0 | 1 | 6 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 67 | |
▷ Named functions | 67 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 14 | 100.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
12 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/light/sticky-topic.png | 0.57KB | 0.49KB | ▼ 14.87% |
images/dark/old-topic.png | 3.09KB | 0.29KB | ▼ 90.48% |
images/dark/create-reply.png | 4.19KB | 1.17KB | ▼ 72.11% |
images/light/new-topic.png | 0.45KB | 0.36KB | ▼ 20.56% |
images/dark/locked-topic.png | 0.55KB | 0.40KB | ▼ 26.79% |