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.72MB] [CPU: ▼5.33ms] 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 | 45.21 ▲3.81 |
Dashboard /wp-admin | 4.07 ▲0.72 | 51.20 ▼14.27 |
Posts /wp-admin/edit.php | 4.12 ▲0.76 | 48.16 ▲1.55 |
Add New Post /wp-admin/post-new.php | 6.60 ▲0.72 | 93.34 ▼12.39 |
Media Library /wp-admin/upload.php | 3.93 ▲0.70 | 42.58 ▲12.49 |
Advanced Google reCAPTCHA /wp-admin/options-general.php?page=wpcaptcha | 4.03 | 52.85 |
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 |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
wpcaptcha_meta |
widget_recent-posts |
theysaidso_admin_options |
wpcaptcha_options |
widget_theysaidso_widget |
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.35 ▲0.08 | 1.70 ▼0.05 | 38.85 ▼5.54 |
Dashboard /wp-admin | 2,245 ▲65 | 5.77 ▲0.17 | 98.21 ▲0.00 | 46.17 ▼0.75 |
Posts /wp-admin/edit.php | 2,153 ▲53 | 2.28 ▲0.25 | 45.49 ▲5.50 | 37.77 ▲0.95 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 23.16 ▼0.00 | 662.36 ▲19.73 | 51.96 ▼1.89 |
Media Library /wp-admin/upload.php | 1,453 ▲50 | 4.33 ▲0.13 | 107.71 ▲7.57 | 48.55 ▲4.88 |
Advanced Google reCAPTCHA /wp-admin/options-general.php?page=wpcaptcha | 3,546 | 5.62 | 145.50 | 294.43 |
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_accesslocks
- wp_wpc_login_fails
- Zombie WordPress options were found after uninstall: 8 options
- theysaidso_admin_options
- widget_recent-posts
- wpcaptcha_meta
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- wpcaptcha_options
- can_compress_scripts
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: Class 'WPCaptcha' not found in wp-content/plugins/advanced-google-recaptcha/interface/tab_temp_access.php:8
- > PHP Fatal error
Uncaught Error: Class 'WPCaptcha' not found in wp-content/plugins/advanced-google-recaptcha/interface/tab_login_form.php:8
- > 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/libs/stats.php:8
- > 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
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/setup.php:9
- > 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/interface/tab_design.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.15's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- 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")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 213 characters long)
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,531 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 726 | 486 | 3,869 |
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.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 152.00 |
Average method complexity | 4.50 |
▷ 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 | 112 | |
▷ Static methods | 105 | 93.75% |
▷ Public methods | 112 | 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.39MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/wp-301-logo.png | 1.57KB | 1.49KB | ▼ 4.68% |
images/sort_both.png | 2.85KB | 0.19KB | ▼ 93.48% |
wf-flyout/icons/wp-captcha.png | 21.34KB | 1.97KB | ▼ 90.78% |
images/captcha_recaptcha_v2.png | 27.84KB | 5.50KB | ▼ 80.24% |
images/image.png | 0.59KB | 0.41KB | ▼ 29.67% |