Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼290.07ms] Passed 4 tests
A check of server-side resources used by ACF: Google Maps Field (Multiple Markers)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 56.29 ▲3.40 |
Dashboard /wp-admin | 3.42 ▲0.01 | 33.24 ▲0.57 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 36.91 ▼0.09 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 94.20 ▼1,164.14 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 28.97 ▲5.88 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
ACF: Google Maps Field (Multiple Markers): an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,821 ▲67 | 16.35 ▲0.38 | 5.89 ▲0.07 | 3.52 ▲0.85 |
Dashboard /wp-admin | 2,921 ▲34 | 6.44 ▼0.21 | 128.48 ▼25.89 | 157.65 ▼8.83 |
Posts /wp-admin/edit.php | 2,694 ▲9 | 3.44 ▲0.01 | 59.93 ▼1.49 | 138.37 ▼9.49 |
Add New Post /wp-admin/post-new.php | 1,773 ▲113 | 21.89 ▲5.51 | 432.79 ▲37.39 | 162.53 ▼21.78 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.72 ▼0.00 | 136.84 ▼1.02 | 184.87 ▼2.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
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)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
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
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: maps, pins, google maps, custom fields, markers...
acf-google-map-field-multiple-markers/acf-google-map-multi.php 92% from 13 tests
The entry point to "ACF: Google Maps Field (Multiple Markers)" version 1.0.4 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("acf-google-map-field-multiple-markers.php" instead of "acf-google-map-multi.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
There were no executable files found in this plugin678 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 170 | 222 | 483 |
PHP | 2 | 195 | 378 | 170 |
CSS | 1 | 4 | 3 | 25 |
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.32 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 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 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/marker-big.png | 2.49KB | 2.05KB | ▼ 17.39% |