Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.73MB] [CPU: ▲2.97ms] Passed 4 tests
A check of server-side resources used by Advanced Google reCAPTCHA
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.23 ▲0.77 | 46.06 ▲9.20 |
Dashboard /wp-admin | 4.06 ▲0.76 | 52.62 ▲6.82 |
Posts /wp-admin/edit.php | 4.12 ▲0.76 | 51.21 ▲0.60 |
Add New Post /wp-admin/post-new.php | 6.60 ▲0.72 | 89.09 ▼4.73 |
Media Library /wp-admin/upload.php | 3.93 ▲0.70 | 44.14 ▲14.52 |
Advanced Google reCAPTCHA /wp-admin/options-general.php?page=wpcaptcha | 4.03 | 53.08 |
Server storage [IO: ▲1.72MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 73 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_wpc_accesslocks |
wp_wpc_login_fails |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
wpcaptcha_meta |
widget_recent-posts |
can_compress_scripts |
wpcaptcha_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advanced Google reCAPTCHA
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲81 | 14.38 ▲0.03 | 1.57 ▼0.05 | 44.85 ▲6.16 |
Dashboard /wp-admin | 2,251 ▲73 | 5.76 ▲0.06 | 100.50 ▼15.77 | 40.93 ▼5.75 |
Posts /wp-admin/edit.php | 2,153 ▲56 | 2.29 ▲0.26 | 44.37 ▲8.86 | 41.00 ▲8.87 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 23.19 ▲0.17 | 646.56 ▼1.76 | 60.72 ▲9.38 |
Media Library /wp-admin/upload.php | 1,453 ▲53 | 4.31 ▲0.14 | 103.11 ▲1.14 | 46.24 ▲5.03 |
Advanced Google reCAPTCHA /wp-admin/options-general.php?page=wpcaptcha | 3,552 | 5.60 | 156.15 | 303.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_wpc_login_fails
- wp_wpc_accesslocks
- Zombie WordPress options were found after uninstall: 8 options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- wpcaptcha_meta
- widget_recent-posts
- wpcaptcha_options
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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 items
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/advanced-google-recaptcha/advanced-google-recaptcha.php:35
- > PHP Fatal error
Uncaught Error: Class 'WPCaptcha' not found in wp-content/plugins/advanced-google-recaptcha/libs/admin.php:9
- > PHP Fatal error
Uncaught Error: Class 'WPCaptcha' not found in wp-content/plugins/advanced-google-recaptcha/libs/functions.php:9
- > PHP Fatal error
Uncaught Error: Class 'WPCaptcha' not found in wp-content/plugins/advanced-google-recaptcha/interface/tab_captcha.php:8
- > PHP Fatal error
Uncaught Error: Class 'WPCaptcha' not found in wp-content/plugins/advanced-google-recaptcha/interface/tab_geoip.php:8
- > PHP Fatal error
Uncaught Error: Class 'WPCaptcha' not found in wp-content/plugins/advanced-google-recaptcha/libs/setup.php:9
- > PHP Fatal error
Uncaught Error: Class 'WPCaptcha' not found in wp-content/plugins/advanced-google-recaptcha/interface/tab_firewall.php:9
- > PHP Fatal error
Uncaught Error: Class 'WPCaptcha' not found in wp-content/plugins/advanced-google-recaptcha/libs/utility.php:11
- > PHP Fatal error
Uncaught Error: Class 'WPCaptcha' not found in wp-content/plugins/advanced-google-recaptcha/interface/tab_activity.php:8
- > PHP Fatal error
Uncaught Error: Class 'WPCaptcha' not found in wp-content/plugins/advanced-google-recaptcha/libs/ajax.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
advanced-google-recaptcha/advanced-google-recaptcha.php 77% from 13 tests
"Advanced Google reCAPTCHA" version 1.14's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 213 characters long)
- Requires at least: The required version number must match the one declared in readme.txt ("4.9" instead of "4.0")
- Requires PHP: The required version number must match the one declared in readme.txt ("5.6" instead of "5.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected8,509 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 720 | 486 | 3,847 |
CSS | 5 | 464 | 35 | 3,044 |
JavaScript | 8 | 164 | 50 | 1,541 |
SVG | 1 | 0 | 0 | 77 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 27.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 147.00 |
Average method complexity | 4.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 111 | |
▷ Static methods | 104 | 93.69% |
▷ Public methods | 111 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
29 PNG files occupy 0.65MB with 0.44MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/design.png | 54.75KB | 15.88KB | ▼ 71.00% |
wf-flyout/icons/wp-ssl.png | 13.01KB | 6.69KB | ▼ 48.56% |
images/advanced_stats.png | 60.81KB | 29.96KB | ▼ 50.74% |
images/captcha_cloudflare.png | 24.35KB | 5.39KB | ▼ 77.84% |
wf-flyout/icons/lockdown.png | 21.29KB | 1.81KB | ▼ 91.48% |