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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▲0.77ms] Passed 4 tests
Server-side resources used by Add Google re captcha in Wordpress Forms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.98 ▼3.28 |
Dashboard /wp-admin | 3.35 ▲0.05 | 50.28 ▲2.19 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 50.79 ▲6.26 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 93.30 ▲5.77 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.08 ▼1.59 |
reCAPTCHA /wp-admin/options-general.php?page=google_recaptcha-options | 3.24 | 31.00 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Add Google re captcha in Wordpress Forms
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.32 ▼1.28 | 1.70 ▼0.14 | 47.62 ▲2.29 |
Dashboard /wp-admin | 2,213 ▲25 | 4.84 ▼1.04 | 96.58 ▼29.05 | 39.84 ▼12.28 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▼0.02 | 39.62 ▲2.86 | 35.16 ▼1.74 |
Add New Post /wp-admin/post-new.php | 1,517 ▼3 | 17.78 ▼5.34 | 629.51 ▼27.50 | 50.25 ▼15.58 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.24 ▼0.17 | 94.57 ▼24.92 | 40.76 ▼8.11 |
reCAPTCHA /wp-admin/options-general.php?page=google_recaptcha-options | 786 | 2.04 | 23.55 | 27.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-google-recaptcha/simple-google-recaptcha.php
- > /wp-content/plugins/wp-google-recaptcha/uninstall.php
- > /wp-content/plugins/wp-google-recaptcha/inc.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== wp-google-recaptcha ===
) - Screenshots: These screenshots lack descriptions #3, #4 in wp-google-recaptcha/assets to your readme.txt
wp-google-recaptcha/simple-google-recaptcha.php 92% from 13 tests
"Add Google re captcha in Wordpress Forms" version 1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-google-recaptcha.php" instead of "simple-google-recaptcha.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
Everything looks great! No dangerous files found in this plugin137 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 31 | 10 | 122 |
CSS | 1 | 1 | 0 | 9 |
JavaScript | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 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
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.17MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 3.45KB | 3.27KB | ▼ 5.04% |
assets/screenshot-4.png | 37.38KB | 9.15KB | ▼ 75.52% |
assets/screenshot-1.png | 18.80KB | 6.00KB | ▼ 68.09% |
assets/screenshot-2.png | 11.94KB | 5.55KB | ▼ 53.51% |
assets/screenshot-3.png | 98.04KB | 28.96KB | ▼ 70.46% |