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 gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.23ms] Passed 4 tests
This is a short check of server-side resources used by reCAPTCHA for Ninja Forms
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.70 ▼3.40 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.89 ▼2.88 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.96 ▲3.17 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.88 ▼3.62 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.99 ▼3.01 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for reCAPTCHA for Ninja Forms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.36 ▼0.04 | 1.70 ▼0.39 | 40.86 ▼2.29 |
Dashboard /wp-admin | 2,206 ▲15 | 5.83 ▲0.96 | 102.02 ▼1.43 | 36.87 ▼4.89 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.01 ▼0.01 | 40.10 ▲6.05 | 34.10 ▼1.33 |
Add New Post /wp-admin/post-new.php | 1,534 ▼3 | 23.11 ▲0.00 | 655.68 ▼5.90 | 52.68 ▼10.86 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.22 ▲0.03 | 92.14 ▼3.75 | 42.06 ▲0.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
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
Everything seems fine, however 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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ninja-forms-recaptcha-field/ninja-forms-recaptcha.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
9 plugin tags: google recaptcha, addon, custom field, getresponse, sendy...
ninja-forms-recaptcha-field/ninja-forms-recaptcha.php 85% from 13 tests
The principal PHP file in "reCAPTCHA for Ninja Forms" v. 1.2.5 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ninja-forms-recaptcha-field.php" instead of "ninja-forms-recaptcha.php")
- Requires at least: Required version must be the same as the one declared in readme.txt ("3.4" instead of "3.5")
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
Success! There were no dangerous files found in this plugin150 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 70 | 37 | 150 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 2 | 15.38% |
▷ Public methods | 12 | 92.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.69% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin