Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/bbpress-no-captcha-recaptcha/recaptchalib.php+42
Methods with the same name as their class will not be constructors in a future version of PHP; ReCaptcha has a deprecated constructor
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.93ms] Passed 4 tests
This is a short check of server-side resources used by bbPress No CAPTCHA reCAPTCHA
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.88 ▼20.82 |
Dashboard /wp-admin | 3.32 ▲0.01 | 53.84 ▼5.89 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.48 ▼6.57 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 98.98 ▼2.43 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 41.52 ▲3.93 |
bbPress No CAPTCHA reCAPTCHA /wp-admin/options-general.php?page=bbpress-newrecaptcha-settings | 3.18 | 38.12 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for bbPress No CAPTCHA reCAPTCHA
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲15 | 13.21 ▲0.04 | 4.89 ▲3.03 | 42.37 ▼7.57 |
Dashboard /wp-admin | 2,210 ▲4 | 4.90 ▲0.02 | 102.56 ▼12.17 | 41.04 ▼2.98 |
Posts /wp-admin/edit.php | 2,096 ▲10 | 2.05 ▲0.04 | 40.72 ▲4.35 | 34.17 ▼2.36 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.32 ▲0.06 | 746.09 ▲88.42 | 66.87 ▲13.12 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.29 ▲0.04 | 104.31 ▲0.76 | 48.52 ▼0.10 |
bbPress No CAPTCHA reCAPTCHA /wp-admin/options-general.php?page=bbpress-newrecaptcha-settings | 819 | 2.06 | 35.18 | 28.60 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bbpress-newrecaptcha-settings
- > Notice in wp-content/plugins/bbpress-no-captcha-recaptcha/bbpress-newrecaptcha.php+106
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbpress-no-captcha-recaptcha/bbpress-newrecaptcha.php:40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
bbpress-no-captcha-recaptcha/bbpress-newrecaptcha.php 85% from 13 tests
The principal PHP file in "bbPress No CAPTCHA reCAPTCHA" v. 1.0 is loaded by WordPress automatically on each request
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("bbpress-no-captcha-recaptcha.php" instead of "bbpress-newrecaptcha.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
There were no executable files found in this plugin145 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 51 | 84 | 145 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 50.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 50.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin