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.01MB] [CPU: ▼308.55ms] Passed 4 tests
An overview of server-side resources used by ACF: Google Map Extended
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 53.48 ▲3.16 |
Dashboard /wp-admin | 3.42 ▲0.01 | 32.22 ▼0.17 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 37.01 ▼1.87 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.07 | 96.12 ▼1,234.17 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 29.22 ▲2.01 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for ACF: Google Map Extended
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲10 | 16.23 ▲0.53 | 6.52 ▲0.85 | 2.36 ▼0.34 |
Dashboard /wp-admin | 2,895 ▲37 | 6.10 ▼0.10 | 114.45 ▼18.32 | 154.93 ▼6.20 |
Posts /wp-admin/edit.php | 2,694 ▼0 | 3.24 ▲0.00 | 61.82 ▼2.12 | 141.39 ▼0.68 |
Add New Post /wp-admin/post-new.php | 1,711 ▲43 | 21.32 ▲3.14 | 432.51 ▲36.52 | 157.94 ▼1.55 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.52 ▼0.00 | 151.62 ▲11.40 | 195.94 ▲1.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following items
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'acf_field_google_map_extended' not found in wp-content/plugins/advanced-custom-fields-google-map-extended/acf-google-map-extended-v4.php:3
- > PHP Fatal error
Uncaught Error: Class 'acf_field_google_map_extended' not found in wp-content/plugins/advanced-custom-fields-google-map-extended/acf-google-map-extended-v5.php:3
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/advanced-custom-fields-google-map-extended/acf-google-map-extended-base.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-custom-fields-google-map-extended/acf-google-map-extended.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
advanced-custom-fields-google-map-extended/acf-google-map-extended.php 85% from 13 tests
"ACF: Google Map Extended" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("advanced-custom-fields-google-map-extended.php" instead of "acf-google-map-extended.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
Success! There were no dangerous files found in this plugin1,243 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 5 | 170 | 195 | 478 |
PHP | 4 | 99 | 138 | 374 |
JavaScript | 2 | 148 | 118 | 256 |
CSS | 1 | 1 | 1 | 135 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 10.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 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 | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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