Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.08ms] Passed 4 tests
This is a short check of server-side resources used by Turnkey bbPress by WeaverTheme
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.10 ▼1.99 |
Dashboard /wp-admin | 3.32 ▲0.01 | 52.15 ▲4.10 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.67 ▼12.98 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.06 ▼8.64 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.52 ▼0.71 |
Server storage [IO: ▲0.71MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 57 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Turnkey bbPress by WeaverTheme: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 14.81 ▲0.23 | 1.89 ▲0.03 | 42.19 ▼0.31 |
Dashboard /wp-admin | 2,203 ▲18 | 5.82 ▲0.79 | 99.30 ▼16.22 | 40.19 ▼4.14 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.01 ▼0.04 | 35.84 ▼8.59 | 34.69 ▼0.63 |
Add New Post /wp-admin/post-new.php | 1,514 ▼19 | 17.62 ▼5.79 | 690.31 ▲3.14 | 62.83 ▲11.45 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.19 ▼0.00 | 94.77 ▼11.28 | 43.06 ▼3.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/weaver-for-bbpress/weaver-for-bbpress.php on line 40
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/weaver-for-bbpress/weaver-for-bbpress.php on line 40
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/weaver-for-bbpress/includes/wvrbbp-mentions.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/weaver-for-bbpress/includes/wvrbbp-private-reply.php:9
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/weaver-for-bbpress/weaver-for-bbpress.php on line 40
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/weaver-for-bbpress/includes/wvrbbp-resolve.php:45
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/weaver-for-bbpress/templates/bbpress/content-single-user.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function is_plugin_active() in wp-content/plugins/weaver-for-bbpress/weaver-for-bbpress.php:41
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/weaver-for-bbpress/includes/wvrbbp-runtime-actions.php:28
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: options, style, forum, bbpress
weaver-for-bbpress/weaver-for-bbpress.php 92% from 13 tests
The main PHP file in "Turnkey bbPress by WeaverTheme" ver. 1.5 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 145 characters long)
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
There were no executable files found in this plugin8,536 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Sass | 12 | 749 | 93 | 2,964 |
CSS | 15 | 559 | 220 | 2,861 |
PHP | 19 | 983 | 529 | 2,575 |
JavaScript | 2 | 64 | 8 | 136 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 39.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 3.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 3 | 23.08% |
▷ Public methods | 12 | 92.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.69% |
Functions | 118 | |
▷ Named functions | 118 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/donate-button.png | 5.83KB | 2.82KB | ▼ 51.57% |
images/media-button.png | 1.00KB | 0.34KB | ▼ 66.31% |
images/download.png | 1.50KB | 0.33KB | ▼ 77.72% |