Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- Install procedure had errors
- > Warning in wp-content/plugins/geo-multi-location-map/geomap.php+32
Use of undefined constant gmlm_version - assumed 'gmlm_version' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼1.83MB] [CPU: ▼51.78ms] Passed 4 tests
Server-side resources used by Geo Map Locations WordPress Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.16 ▼1.30 | 4.73 ▼38.62 |
Dashboard /wp-admin | 2.18 ▼1.12 | 11.96 ▼33.86 |
Posts /wp-admin/edit.php | 2.18 ▼1.18 | 7.81 ▼43.08 |
Add New Post /wp-admin/post-new.php | 2.18 ▼3.71 | 6.15 ▼91.57 |
Media Library /wp-admin/upload.php | 2.18 ▼1.05 | 6.65 ▼26.10 |
Add new /wp-admin/admin.php?page=locations_form | 2.18 | 5.92 |
Geo Locations /wp-admin/admin.php?page=locations | 2.18 | 5.74 |
Map Setting /wp-admin/admin.php?page=locations_setting | 2.18 | 6.51 |
Map ShortCode /wp-admin/admin.php?page=locations_view | 2.18 | 5.57 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 12 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_locations |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
LOCATER_VERSION_KEY |
Browser metrics Passed 4 tests
An overview of browser requirements for Geo Map Locations WordPress Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲181 | 12.98 ▼1.63 | 1.55 ▼0.46 | 40.43 ▼6.83 |
Dashboard /wp-admin | 2,284 ▲96 | 5.83 ▲0.97 | 99.48 ▼6.74 | 43.72 ▲3.98 |
Posts /wp-admin/edit.php | 2,310 ▲221 | 2.00 ▼0.01 | 35.08 ▼1.68 | 37.05 ▲4.40 |
Add New Post /wp-admin/post-new.php | 1,629 ▲95 | 23.93 ▲0.67 | 684.77 ▼19.42 | 37.88 ▼24.57 |
Media Library /wp-admin/upload.php | 1,476 ▲85 | 4.17 ▲0.02 | 86.02 ▼13.54 | 41.29 ▼4.30 |
Add new /wp-admin/admin.php?page=locations_form | 1,063 | 2.71 | 44.15 | 33.65 |
Geo Locations /wp-admin/admin.php?page=locations | 999 | 2.06 | 24.23 | 26.98 |
Map Setting /wp-admin/admin.php?page=locations_setting | 913 | 2.06 | 23.97 | 27.43 |
Map ShortCode /wp-admin/admin.php?page=locations_view | 856 | 2.06 | 22.72 | 24.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/geo-multi-location-map/geomap.php+32
Use of undefined constant gmlm_version - assumed 'gmlm_version' (this will throw an Error in a future version of PHP)
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- LOCATER_VERSION_KEY
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=locations_view
- > Warning in wp-content/plugins/geo-multi-location-map/geomap.php+32
Use of undefined constant gmlm_version - assumed 'gmlm_version' (this will throw an Error in a future version of PHP)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=locations
- > Notice in wp-content/plugins/geo-multi-location-map/geomap.php+312
Undefined index: view
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=locations_view
- > Notice in wp-content/plugins/geo-multi-location-map/map_viewshortcode.php+11
Undefined variable: item
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/geo-multi-location-map/geomap.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=locations_form
- > Console-api (warning) in unknown
http://maps.googleapis.com/maps/api/js?key=AIzaSyBMAt42KN__1_aVtPo9lx10tBMo2CMOyxE&sensor=false 208:51 "Google Maps JavaScript API has been loaded directly without a callback. This is not supported and can lead to race conditions and suboptimal performance. For supported loading patterns please see https://goo.gle/js-api-loading"
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: easy to use with just place short code on anywhere, geo map, tag places, locations, match with your desing easily...
geo-multi-location-map/geomap.php 92% from 13 tests
The primary PHP file in "Geo Map Locations WordPress Plugin" version 1.1.2 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("geo-multi-location-map.php" instead of "geomap.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,416 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 50 | 54 | 701 |
CSS | 2 | 16 | 19 | 564 |
JavaScript | 3 | 17 | 15 | 151 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 28.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 3.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 PNG file occupies 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
image/globe-location.png | 38.31KB | 17.70KB | ▼ 53.80% |