Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼292.28ms] Passed 4 tests
Analyzing server-side resources used by Google Maps Search Tool For ACF
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.81 ▲0.27 | 63.81 ▲10.24 |
Dashboard /wp-admin | 3.54 ▲0.10 | 33.91 ▼1.94 |
Posts /wp-admin/edit.php | 3.77 ▲0.10 | 37.37 ▼1.85 |
Add New Post /wp-admin/post-new.php | 7.01 ▲0.00 | 95.36 ▼1,163.30 |
Media Library /wp-admin/upload.php | 3.42 ▲0.09 | 24.08 ▼2.03 |
ACF Google Maps Search /wp-admin/options-general.php?page=gmst_acf | 3.39 | 25.04 |
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, 1 new option
New tables |
---|
wp_acf_gmst_geodata |
New WordPress options |
---|
gmst_acf_field_range |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Google Maps Search Tool For ACF
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,781 ▲59 | 15.69 ▲0.06 | 6.20 ▲0.61 | 2.13 ▼0.33 |
Dashboard /wp-admin | 2,907 ▲53 | 6.16 ▼0.10 | 119.53 ▼21.93 | 150.62 ▼19.70 |
Posts /wp-admin/edit.php | 2,703 ▲18 | 3.24 ▼0.12 | 64.65 ▼2.70 | 141.73 ▼15.50 |
Add New Post /wp-admin/post-new.php | 1,670 ▼103 | 16.63 ▼5.56 | 400.33 ▼48.06 | 160.33 ▼0.91 |
Media Library /wp-admin/upload.php | 1,710 ▲12 | 5.54 ▲0.06 | 148.78 ▼5.16 | 191.11 ▲5.11 |
ACF Google Maps Search /wp-admin/options-general.php?page=gmst_acf | 1,089 | 2.37 | 55.17 | 142.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests Passed 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 no errors were found, this is by no means an exhaustive test
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Donate link: Please fix this invalid URI: ""
- Screenshots: No descriptions were found for these screenshots #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 primary PHP file in "Google Maps Search Tool For ACF" version 1.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to 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 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected421 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 short overview 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.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 files were detected