Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼17.18ms] Passed 4 tests
Server-side resources used by Follow for bbPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 45.73 ▲0.74 |
Dashboard /wp-admin | 3.46 ▲0.16 | 54.32 ▼6.67 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 54.34 ▲0.60 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 92.17 ▼63.37 |
Media Library /wp-admin/upload.php | 3.38 ▲0.16 | 39.77 ▲4.16 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: 1 new table, 6 new options
New tables |
---|
bbpress_follow |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Follow for bbPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲105 | 13.85 ▼0.52 | 10.13 ▲7.92 | 39.49 ▼7.47 |
Dashboard /wp-admin | 2,199 ▲19 | 5.55 ▼0.10 | 85.12 ▼8.53 | 43.30 ▲2.52 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 1.98 ▼0.04 | 35.78 ▲0.07 | 35.06 ▼0.10 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 21.41 ▼1.62 | 693.90 ▲13.49 | 67.23 ▲15.63 |
Media Library /wp-admin/upload.php | 1,416 ▲13 | 4.22 ▲0.01 | 95.48 ▼8.89 | 42.71 ▼5.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: user, topic, shortcode, follow, bbpress...
follow-bbpress/follow-for-bbpress.php 85% from 13 tests
The primary PHP file in "Follow for bbPress" version 1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("follow-bbpress.php" instead of "follow-for-bbpress.php")
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
No dangerous file extensions were detected1,365 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 85 | 72 | 638 |
CSS | 2 | 52 | 2 | 318 |
JavaScript | 1 | 42 | 15 | 263 |
PO File | 2 | 104 | 158 | 146 |
PHP code Passed 2 tests
An short overview of 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.38 |
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 | 27 | |
▷ Named functions | 23 | 85.19% |
▷ Anonymous functions | 4 | 14.81% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin