Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.63ms] Passed 4 tests
Server-side resources used by ACF: Google Map Extended
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 44.22 ▲1.96 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.95 ▲1.79 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.16 ▼5.21 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 82.50 ▼16.34 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 32.60 ▼2.74 |
Server storage [IO: ▲0.10MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
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 / | 2,800 ▲65 | 14.46 ▲0.16 | 1.77 ▼0.03 | 43.85 ▼0.04 |
Dashboard /wp-admin | 2,206 ▲51 | 5.90 ▲0.20 | 99.80 ▲2.61 | 38.50 ▼2.74 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.02 ▼0.03 | 39.35 ▼0.13 | 35.91 ▲1.85 |
Add New Post /wp-admin/post-new.php | 1,528 ▲14 | 23.42 ▲5.95 | 642.11 ▼52.31 | 63.94 ▲7.04 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.18 ▲0.02 | 95.52 ▼4.06 | 42.04 ▼0.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > 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: 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: 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 describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: There are too many tags (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
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("advanced-custom-fields-google-map-extended.php" instead of "acf-google-map-extended.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected1,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
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin