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
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.66ms] Passed 4 tests
Analyzing server-side resources used by Address Autocomplete via Google for Gravity Forms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 39.36 ▲1.35 |
Dashboard /wp-admin | 3.37 ▲0.06 | 41.74 ▼2.21 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 44.50 ▼0.29 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 78.80 ▼19.81 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 33.50 ▼0.34 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Address Autocomplete via Google for Gravity Forms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲56 | 13.25 ▼0.99 | 5.70 ▲3.86 | 44.77 ▲1.17 |
Dashboard /wp-admin | 2,208 ▲20 | 4.88 ▲0.03 | 109.89 ▼3.22 | 38.92 ▼2.80 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.04 ▲0.04 | 40.69 ▲5.03 | 37.14 ▲2.85 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 18.33 ▲0.05 | 619.57 ▼3.85 | 49.90 ▲0.52 |
Media Library /wp-admin/upload.php | 1,390 ▲5 | 4.24 ▼0.01 | 102.29 ▼13.55 | 44.01 ▲2.41 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
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)
Everything seems fine, however this is by no means 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
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gf-google-address-autocomplete/frontend/class-frontend.php:6
- > PHP Warning
Unterminated comment starting line 2 in wp-content/plugins/gf-google-address-autocomplete/index.php on line 2
- > 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 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5 in gf-google-address-autocomplete/assets to your readme.txt
gf-google-address-autocomplete/gf-auto-address-complete.php 85% from 13 tests
Analyzing the main PHP file in "Address Autocomplete via Google for Gravity Forms" version 1.3.0
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("gf-google-address-autocomplete.php" instead of "gf-auto-address-complete.php")
- 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 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected596 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 57 | 23 | 466 |
JavaScript | 2 | 23 | 1 | 130 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 4.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 1 | 7.69% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.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
PNG images were not found in this plugin