Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.25MB] [CPU: ▲0.55ms] Passed 4 tests
Analyzing server-side resources used by Images with GPS on GoogleMaps
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.24 | 42.54 ▲2.84 |
Dashboard /wp-admin | 3.54 ▲0.24 | 48.07 ▼3.70 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 47.78 ▲4.41 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.26 | 86.86 ▼1.37 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 39.43 ▲4.91 |
Server storage [IO: ▲0.71MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 60 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
geoimggpx_options |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Images with GPS on GoogleMaps
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,899 ▲128 | 15.01 ▲0.73 | 9.50 ▲7.42 | 38.40 ▼3.04 |
Dashboard /wp-admin | 2,213 ▲21 | 6.02 ▲0.14 | 104.25 ▼11.27 | 40.78 ▼4.02 |
Posts /wp-admin/edit.php | 2,099 ▲31 | 2.54 ▲0.51 | 45.44 ▲9.46 | 34.60 ▼0.30 |
Add New Post /wp-admin/post-new.php | 6,298 ▲4,765 | 19.80 ▼3.31 | 961.19 ▲314.05 | 44.28 ▼5.00 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 5.03 ▲0.82 | 104.39 ▲5.45 | 41.12 ▼2.34 |
Image GPS & GPX in Map /wp-admin/admin_geoImageAndGPX.php | 26 | 0.44 | 0.09 | 12.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- geoimggpx_options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 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
Almost there! Just fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/images-with-gps-data-and-gpx-on-maps/geoImgGPXMainAjaxRequest.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/images-with-gps-data-and-gpx-on-maps/geoImgGPX_ShowShortCode.php:403
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/admin_geoImageAndGPX.php
- > Network (severe)
wp-admin/admin_geoImageAndGPX.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 75% 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
Please fix the following attributes:
- Screenshots: These screenshots need descriptions #0, #0 in images-with-gps-data-and-gpx-on-maps/assets to your readme.txt
- Donate link: Invalid URI ("")
- Screenshots: These screenshots require images: #6 (screenshot-4.jpg Add ShortCode), #7 (screenshot-5.jpg Add Google API Key)
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
images-with-gps-data-and-gpx-on-maps/geoImgGPX_init.php 85% from 13 tests
"Images with GPS on GoogleMaps" version 0.913's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to 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: The principal plugin file should be the same as the plugin slug ("images-with-gps-data-and-gpx-on-maps.php" instead of "geoImgGPX_init.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin2,044 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 171 | 120 | 1,387 |
PO File | 3 | 132 | 138 | 403 |
CSS | 1 | 20 | 0 | 140 |
JavaScript | 2 | 12 | 46 | 114 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
22 PNG files occupy 0.20MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/marker/map-marker-2-xxl.png | 5.48KB | 2.87KB | ▼ 47.64% |
images/marker-back.png | 6.58KB | 3.60KB | ▼ 45.26% |
images/marker/pin_marker_location-256.png | 7.43KB | 5.04KB | ▼ 32.24% |
images/button/error_small.png | 0.74KB | 0.96KB | 0.00% |
images/button/ok.png | 0.35KB | 0.25KB | ▼ 29.81% |