Benchmarks
Plugin footprint 57% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/wp-bugbot/wp-bugbot.php+1063
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▲0.50MB] [CPU: ▼290.63ms] 75% from 4 tests
A check of server-side resources used by WP BugBot
The following require your attention
- CPU: The total CPU usage must kept under 500.00ms (currently 1,800.41ms on /wp-admin/admin.php?page=wp-bugbot)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.04 ▲0.53 | 53.52 ▼1.75 |
Dashboard /wp-admin | 5.01 ▲1.60 | 5,015.07 ▲4,979.03 |
Posts /wp-admin/edit.php | 4.14 ▲0.50 | 41.52 ▲3.54 |
Add New Post /wp-admin/post-new.php | 7.38 ▲0.41 | 94.41 ▼1,166.74 |
Media Library /wp-admin/upload.php | 3.86 ▲0.57 | 25.36 ▲2.44 |
WordQuest /wp-admin/admin.php?page=wordquest | 3.66 | 24.63 |
Freemius Debug [v.2.3.0] /wp-admin/admin.php?page=freemius | 4.06 | 26.06 |
WP BugBot /wp-admin/admin.php?page=wp-bugbot | 4.20 | 1,800.41 |
Server storage [IO: ▲3.89MB] [DB: ▲0.13MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 187 new files
Database: no new tables, 8 new options
New WordPress options |
---|
wq_sidebar_options |
fs_active_plugins |
fs_api_cache |
bb_sidebar_options |
fs_accounts |
fs_gdpr |
wp_bugbot |
fs_debug_mode |
Browser metrics Passed 4 tests
WP BugBot: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,984 ▲230 | 14.16 ▼1.62 | 6.69 ▲0.24 | 2.05 ▼0.78 |
Dashboard /wp-admin | 3,196 ▲338 | 6.46 ▲0.16 | 121.23 ▼17.50 | 218.41 ▲50.87 |
Posts /wp-admin/edit.php | 2,789 ▲98 | 3.13 ▼0.11 | 64.11 ▼2.15 | 144.65 ▼6.34 |
Add New Post /wp-admin/post-new.php | 1,729 ▲68 | 18.50 ▲2.97 | 421.88 ▲24.32 | 183.86 ▲22.37 |
Media Library /wp-admin/upload.php | 1,774 ▲82 | 5.66 ▲0.17 | 124.96 ▼16.31 | 201.50 ▲10.66 |
WordQuest /wp-admin/admin.php?page=wordquest | 2,057 | 3.06 | 59.90 | 288.64 |
Freemius Debug [v.2.3.0] /wp-admin/admin.php?page=freemius | 1,522 | 2.41 | 57.07 | 131.20 |
WP BugBot /wp-admin/admin.php?page=wp-bugbot | 1,324 | 2.51 | 56.98 | 167.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.12MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 8 options in the database
- fs_api_cache
- wp_bugbot
- wq_sidebar_options
- fs_accounts
- fs_gdpr
- fs_debug_mode
- bb_sidebar_options
- fs_active_plugins
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=wordquest
- > Notice in wp-content/plugins/wp-bugbot/wordquest.php+1569
Undefined index: donate
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-bugbot/freemius/templates/ajax-loader.php
- 10× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function freemius() in wp-content/plugins/wp-bugbot/freemius/templates/partials/network-activation.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-bugbot/loader.php:1066
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/wp-bugbot/freemius/templates/account/partials/addon.php on line 7
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-bugbot/freemius/templates/account/partials/addon.php on line 8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-bugbot/freemius/templates/account/partials/addon.php on line 7
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/wp-bugbot/freemius/templates/account/partials/addon.php on line 8
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/wp-bugbot/freemius/templates/account/partials/addon.php on line 6
- > PHP Fatal error
Uncaught Error: Call to a member function get_slug() on null in wp-content/plugins/wp-bugbot/freemius/templates/account/partials/addon.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function has_action() in wp-content/plugins/wp-bugbot/wordquest.php:84
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-bugbot/freemius/templates/account/partials/addon.php on line 6
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=wordquest
- > Network (severe)
https://pluginreview.net/recommends/?s=yes&a=majick&c=wordquest&t=sidebar - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
8 plugin tags: editor, plugin editor, theme editor, core search, plugin search...
wp-bugbot/loader.php 92% from 13 tests
Analyzing the main PHP file in "WP BugBot" version 1.0.7
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-bugbot.php" instead of "loader.php")
Code Analysis 97% from 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 plugin48,037 lines of code in 135 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 108 | 8,197 | 17,866 | 34,851 |
PO File | 10 | 5,710 | 6,913 | 12,558 |
JavaScript | 6 | 86 | 82 | 588 |
JSON | 1 | 0 | 0 | 27 |
CSS | 10 | 0 | 0 | 13 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 2,609)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 83.84 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,609.00 |
Average method complexity | 4.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 49 | |
▷ Abstract classes | 2 | 4.08% |
▷ Concrete classes | 47 | 95.92% |
▷ Final classes | 0 | 0.00% |
Methods | 1,211 | |
▷ Static methods | 170 | 14.04% |
▷ Public methods | 880 | 72.67% |
▷ Protected methods | 15 | 1.24% |
▷ Private methods | 316 | 26.09% |
Functions | 200 | |
▷ Named functions | 173 | 86.50% |
▷ Anonymous functions | 27 | 13.50% |
Constants | 132 | |
▷ Global constants | 109 | 82.58% |
▷ Class constants | 23 | 17.42% |
▷ Public constants | 23 | 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
11 PNG files occupy 0.10MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/tick.png | 1.22KB | 1.09KB | ▼ 10.48% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
images/prn-logo.png | 6.56KB | 2.93KB | ▼ 55.26% |
images/wordquest-icon.png | 1.24KB | 1.23KB | 0.40% |
images/icon.png | 0.83KB | 0.81KB | ▼ 2.46% |