Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- Install procedure had errors
- > Error in wp-content/plugins/acf-google-maps-radius-search/classes/acf_gms.class.php+163
Uncaught Error: Call to undefined function get_field() in wp-content/plugins/acf-google-maps-radius-search/classes/acf_gms.class.php:163
Stack trace:
#0 wp-content/plugins/acf-google-maps-radius-search/functions.php(26): acf_gms->update_historic_post_gm_data()
#1 wp-includes/class-wp-hook.php(310): acf_google_maps_search_table_install()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/includes/plugin.php(693): do_action()
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.25ms] Passed 4 tests
Analyzing server-side resources used by ACF Google Maps Radius Search
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.56 ▼2.13 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.69 ▼1.48 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.01 ▼2.31 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.42 ▼15.85 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.00 ▼4.69 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 4 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_acf_google_map_search_geodata |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for ACF Google Maps Radius Search
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.61 ▼0.67 | 1.67 ▼0.15 | 40.47 ▼2.33 |
Dashboard /wp-admin | 2,206 ▲24 | 5.91 ▼0.06 | 107.73 ▲8.13 | 42.96 ▲1.40 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.99 ▼0.01 | 39.61 ▲0.27 | 34.35 ▲0.14 |
Add New Post /wp-admin/post-new.php | 1,514 ▼30 | 17.58 ▼1.07 | 679.78 ▲74.55 | 46.97 ▼7.11 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.22 ▲0.02 | 96.90 ▼4.97 | 40.24 ▼3.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_acf_google_map_search_geodata
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- 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 | 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 items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/acf-google-maps-radius-search/functions.php:82
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: advanced custom fields address search, acf
acf-google-maps-radius-search/advanced-custom-fields-google-maps-search.php 85% from 13 tests
"ACF Google Maps Radius Search" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("acf-google-maps-radius-search.php" instead of "advanced-custom-fields-google-maps-search.php")
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
Everything looks great! No dangerous files found in this plugin165 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 116 | 59 | 165 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin