Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.66ms] Passed 4 tests
This is a short check of server-side resources used by Field Helper for Gravity Forms
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.22 ▼3.09 |
Dashboard /wp-admin | 3.31 ▲0.01 | 42.23 ▼9.29 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.06 ▼2.25 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.35 ▼24.01 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.64 ▲1.57 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Field Helper for Gravity Forms
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.14 ▼0.15 | 1.78 ▼0.03 | 45.11 ▲0.72 |
Dashboard /wp-admin | 2,195 ▲18 | 5.56 ▼0.09 | 90.72 ▼10.06 | 39.76 ▼3.67 |
Posts /wp-admin/edit.php | 2,097 ▼8 | 1.94 ▼0.02 | 39.39 ▼1.67 | 35.85 ▲0.24 |
Add New Post /wp-admin/post-new.php | 1,526 ▼3 | 23.05 ▼0.35 | 607.86 ▼13.87 | 54.30 ▲1.26 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.19 ▼0.01 | 96.87 ▼14.31 | 43.46 ▼2.99 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/field-helper-for-gravity-forms/field-helper-for-gravity-forms.php:38
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues 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
7 plugin tags: api, forms, filemaker, gravity forms, database...
field-helper-for-gravity-forms/field-helper-for-gravity-forms.php 85% from 13 tests
Analyzing the main PHP file in "Field Helper for Gravity Forms" version 1.10.1
It is important to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin950 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 255 | 913 | 909 |
JavaScript | 2 | 8 | 16 | 36 |
CSS | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 13.86 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 2.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 11 | 22.45% |
▷ Public methods | 45 | 91.84% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 8.16% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
There are no PNG files in this plugin