Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼10.88ms] Passed 4 tests
An overview of server-side resources used by FV bbPress Tweaks
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 43.50 ▼1.03 |
Dashboard /wp-admin | 3.34 ▲0.04 | 34.78 ▼16.28 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 41.68 ▼10.43 |
Add New Post /wp-admin/post-new.php | 5.58 ▼0.30 | 80.13 ▼15.79 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 35.10 ▲0.54 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
FV bbPress Tweaks: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.72 ▲0.17 | 1.72 ▼0.20 | 45.97 ▲2.94 |
Dashboard /wp-admin | 2,197 ▲23 | 5.58 ▲0.05 | 94.75 ▼7.44 | 38.38 ▼7.82 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 1.97 ▼0.01 | 40.42 ▲2.17 | 37.16 ▼0.23 |
Add New Post /wp-admin/post-new.php | 1,545 ▲15 | 18.24 ▼4.83 | 624.35 ▲6.96 | 68.35 ▲16.12 |
Media Library /wp-admin/upload.php | 1,408 ▲11 | 4.19 ▲0.02 | 102.68 ▲0.62 | 42.08 ▲2.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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/fv-bbpress-tweaks/fv-bbpress.php:33
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fv-bbpress-tweaks/search-before-post.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fv-bbpress-tweaks/comment-to-topic.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
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
2 plugin tags: spam, comments
fv-bbpress-tweaks/fv-bbpress.php 92% from 13 tests
The primary PHP file in "FV bbPress Tweaks" version 0.2.7.4 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("fv-bbpress-tweaks.php" instead of "fv-bbpress.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin2,456 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 799 | 571 | 2,456 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 107.50 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 286.00 |
Average method complexity | 5.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 103 | |
▷ Static methods | 1 | 0.97% |
▷ Public methods | 99 | 96.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 3.88% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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