Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▼2.69ms] Passed 4 tests
Server-side resources used by Google Maps Search Tool For ACF
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.30 | 40.51 ▼3.91 |
Dashboard /wp-admin | 3.40 ▲0.10 | 45.64 ▼5.13 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 47.94 ▼0.53 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 99.56 ▼1.20 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.13 ▲3.73 |
ACF Google Maps Search /wp-admin/options-general.php?page=gmst_acf | 3.29 | 32.79 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_acf_gmst_geodata |
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
gmst_acf_field_range |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Google Maps Search Tool For ACF
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲92 | 13.65 ▼1.08 | 1.80 ▼0.09 | 40.60 ▼2.34 |
Dashboard /wp-admin | 2,216 ▲31 | 4.84 ▼0.97 | 111.34 ▼5.12 | 45.46 ▲7.12 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.12 ▲0.13 | 40.48 ▲4.65 | 36.37 ▲1.59 |
Add New Post /wp-admin/post-new.php | 1,523 ▲4 | 17.80 ▼5.39 | 618.55 ▼2.07 | 48.31 ▼4.63 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.16 ▼0.11 | 96.88 ▼12.34 | 43.45 ▲0.22 |
ACF Google Maps Search /wp-admin/options-general.php?page=gmst_acf | 851 | 2.01 | 27.62 | 36.35 |
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 were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Donate link: Please fix this invalid url: ""
- Screenshots: These screenshots need descriptions #1, #2 in acf-search-google-maps/assets to your readme.txt
acf-search-google-maps/google-maps-search-tool-for-acf.php 92% from 13 tests
The principal PHP file in "Google Maps Search Tool For ACF" v. 1.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("acf-search-google-maps.php" instead of "google-maps-search-tool-for-acf.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin421 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 116 | 173 | 388 |
JavaScript | 1 | 3 | 2 | 23 |
CSS | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
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 | 10.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 1.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 35 | |
▷ Static methods | 35 | 100.00% |
▷ Public methods | 33 | 94.29% |
▷ Protected methods | 1 | 2.86% |
▷ Private methods | 1 | 2.86% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.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
No PNG images were found in this plugin