Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/gravity-forms-no-captcha-recaptcha/public/class-gf-no-captcha-recaptcha-public.php+104
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.85MB] [CPU: ▼56.72ms] Passed 4 tests
Server-side resources used by Gravity Forms No CAPTCHA reCAPTCHA
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.14 ▼1.33 | 6.01 ▼40.09 |
Dashboard /wp-admin | 2.16 ▼1.15 | 7.25 ▼48.65 |
Posts /wp-admin/edit.php | 2.16 ▼1.20 | 7.34 ▼42.76 |
Add New Post /wp-admin/post-new.php | 2.16 ▼3.73 | 6.92 ▼95.36 |
Media Library /wp-admin/upload.php | 2.16 ▼1.07 | 6.63 ▼30.11 |
No CAPTCHA reCAPTCHA /wp-admin/options-general.php?page=gf-no-captcha-recaptcha-admin | 2.16 | 7.25 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Gravity Forms No CAPTCHA reCAPTCHA
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲12 | 14.28 ▼0.25 | 1.74 ▼0.41 | 43.67 ▼1.38 |
Dashboard /wp-admin | 2,201 ▲24 | 5.62 ▲0.03 | 94.21 ▼6.81 | 43.37 ▼0.13 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.02 ▼0.01 | 34.00 ▼2.88 | 35.04 ▼3.67 |
Add New Post /wp-admin/post-new.php | 1,536 ▲1 | 23.08 ▲4.80 | 674.73 ▼14.38 | 54.69 ▼10.99 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.23 ▼0.01 | 104.68 ▲0.49 | 49.04 ▲2.99 |
No CAPTCHA reCAPTCHA /wp-admin/options-general.php?page=gf-no-captcha-recaptcha-admin | 821 | 2.01 | 32.74 | 32.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/gravity-forms-no-captcha-recaptcha/public/class-gf-no-captcha-recaptcha-public.php+104
Trying to access array offset on value of type bool
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
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
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=gf-no-captcha-recaptcha-admin
- > Notice in wp-content/plugins/gravity-forms-no-captcha-recaptcha/public/class-gf-no-captcha-recaptcha-public.php+105
Trying to access array offset on value of type bool
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 fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/gravity-forms-no-captcha-recaptcha/public/partials/gf-no-captcha-recaptcha-public-gforms-editor-js.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/gravity-forms-no-captcha-recaptcha/public/partials/gf-no-captcha-recaptcha-public-theme-dropdown.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/gravity-forms-no-captcha-recaptcha/admin/partials/gf-no-captcha-recaptcha-admin-display.php:16
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: no captcha, recaptcha, captcha, gravity forms
gravity-forms-no-captcha-recaptcha/gf-no-captcha-recaptcha.php 85% from 13 tests
The main file in "Gravity Forms No CAPTCHA reCAPTCHA" v. 1.0.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("gravity-forms-no-captcha-recaptcha.php" instead of "gf-no-captcha-recaptcha.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
Everything looks great! No dangerous files found in this plugin360 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 179 | 668 | 344 |
JavaScript | 1 | 11 | 8 | 16 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 1.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 1 | 2.78% |
▷ Public methods | 30 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 16.67% |
Functions | 2 | |
▷ Named functions | 2 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin