Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼0.66ms] Passed 4 tests
A check of server-side resources used by Eighties bbPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.03 ▼6.62 |
Dashboard /wp-admin | 3.31 ▲0.00 | 51.75 ▲3.45 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.53 ▼0.79 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 96.79 ▲5.48 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.89 ▲1.33 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 65 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Eighties bbPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.17 ▼1.25 | 1.78 ▼0.40 | 38.00 ▼3.07 |
Dashboard /wp-admin | 2,206 ▲24 | 5.88 ▲1.02 | 109.14 ▼7.82 | 42.07 ▲3.37 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▼0.00 | 40.81 ▼1.04 | 35.41 ▼2.28 |
Add New Post /wp-admin/post-new.php | 1,514 ▼19 | 17.44 ▼3.80 | 656.00 ▼2.78 | 54.93 ▲0.76 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.20 ▲0.08 | 98.48 ▼7.50 | 41.95 ▼3.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
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)
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 54× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/eighties-bbpress/template/functions.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/eighties-bbpress/template/bbpress/form-topic-tag.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/eighties-bbpress/template/bbpress/feedback-no-forums.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/eighties-bbpress/template/bbpress/user-subscriptions.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/eighties-bbpress/template/bbpress/form-user-roles.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/eighties-bbpress/template/bbpress/feedback-no-topics.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/eighties-bbpress/template/bbpress/form-topic-split.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function bbp_topic_id() in wp-content/plugins/eighties-bbpress/template/bbpress/loop-search-topic.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function bbp_wp_login_action() in wp-content/plugins/eighties-bbpress/template/bbpress/form-user-login.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function bbp_set_query_name() in wp-content/plugins/eighties-bbpress/template/bbpress/content-search.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
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
2 plugin tags: eighties, bbpress
eighties-bbpress/eighties-bbpress.php Passed 13 tests
"Eighties bbPress" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
98 characters long description:
This add-on pairs the power and functionality of bbPress with the modern, sleek design of Eightes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin2,888 lines of code in 62 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 56 | 932 | 410 | 1,612 |
CSS | 4 | 34 | 76 | 1,258 |
Markdown | 1 | 9 | 0 | 10 |
JavaScript | 1 | 2 | 1 | 8 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
There were not PNG files found in your plugin