Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼6.65ms] Passed 4 tests
A check of server-side resources used by Advanced Custom Fields: Gravity Forms Add-on
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 37.38 ▼16.41 |
Dashboard /wp-admin | 3.38 ▲0.08 | 43.52 ▼6.52 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 47.38 ▲3.95 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 84.59 ▼6.80 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.52 ▲3.14 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Advanced Custom Fields: Gravity Forms Add-on: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲42 | 13.26 ▼1.39 | 1.51 ▼0.58 | 41.98 ▼3.40 |
Dashboard /wp-admin | 2,216 ▲28 | 5.79 ▼0.11 | 105.62 ▼7.28 | 38.63 ▼10.98 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 1.99 ▼0.01 | 47.39 ▲10.45 | 41.47 ▲6.79 |
Add New Post /wp-admin/post-new.php | 1,527 ▼6 | 17.67 ▼5.62 | 584.64 ▼94.28 | 52.82 ▼9.55 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.28 ▲0.05 | 102.33 ▼7.24 | 44.72 ▼1.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/acf-gravityforms-add-on/resources/Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/acf-gravityforms-add-on/resources/FieldForV4.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: sayhellogmbh, acf, gravityforms, fields, custom fields...
acf-gravityforms-add-on/acf-gravityforms-add-on.php 92% from 13 tests
The main PHP file in "Advanced Custom Fields: Gravity Forms Add-on" ver. 1.3.5 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 155 characters long)
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
Success! There were no dangerous files found in this plugin776 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 178 | 434 | 731 |
PO File | 1 | 6 | 6 | 45 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 13.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
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 | 4 | 8.16% |
▷ Public methods | 47 | 95.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.08% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
No PNG images were found in this plugin