Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.71ms] Passed 4 tests
Server-side resources used by Google reCAPTCHA by Hizzle
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 44.27 ▲8.15 |
Dashboard /wp-admin | 3.36 ▲0.05 | 47.09 ▼5.25 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 43.14 ▼1.73 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 82.92 ▼4.80 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.39 ▲0.95 |
reCAPTCHA by Hizzle /wp-admin/options-general.php?page=hizzle-recaptcha | 3.26 | 31.33 |
Server storage [IO: ▲0.04MB] [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: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Google reCAPTCHA by Hizzle
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.35 ▲0.01 | 1.93 ▲0.13 | 43.30 ▼3.45 |
Dashboard /wp-admin | 2,202 ▲25 | 5.64 ▲0.06 | 82.40 ▼5.06 | 36.77 ▼6.56 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.97 ▼0.01 | 34.00 ▼2.81 | 32.21 ▼1.34 |
Add New Post /wp-admin/post-new.php | 1,529 ▼2 | 23.60 ▲0.48 | 689.63 ▲77.75 | 57.48 ▲5.51 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.21 ▼0.01 | 101.95 ▲5.91 | 44.65 ▲0.53 |
reCAPTCHA by Hizzle /wp-admin/options-general.php?page=hizzle-recaptcha | 926 | 1.99 | 22.01 | 24.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/hizzle-recaptcha/includes/settings.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: google, spam, captcha, recaptcha
hizzle-recaptcha/plugin.php 77% from 13 tests
"Google reCAPTCHA by Hizzle" version 1.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.9" instead of "5.0")
- Requires PHP: Required version must be the same as the one declared in readme.txt ("5.3" instead of "5.6")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("hizzle-recaptcha.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin757 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 230 | 542 | 757 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 4.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 1.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 52 | 92.86% |
▷ Protected methods | 4 | 7.14% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 are no PNG files in this plugin