Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/slick-google-map/admin-menu.php+230
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼1.44MB] [CPU: ▼49.74ms] Passed 4 tests
Server-side resources used by Slick Google Map
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.56 ▼0.90 | 7.04 ▼28.38 |
Dashboard /wp-admin | 2.58 ▼0.77 | 8.33 ▼49.16 |
Posts /wp-admin/edit.php | 2.58 ▼0.78 | 8.45 ▼35.66 |
Add New Post /wp-admin/post-new.php | 2.58 ▼3.31 | 7.67 ▼85.74 |
Media Library /wp-admin/upload.php | 2.58 ▼0.65 | 8.56 ▼27.65 |
Shortcode Builder /wp-admin/admin.php?page=sgmp-shortcodebuilder | 2.58 | 7.09 |
Saved Shortcodes /wp-admin/admin.php?page=sgmp-saved-shortcodes | 2.58 | 8.62 |
Settings /wp-admin/admin.php?page=sgmp-settings | 2.58 | 7.43 |
Documentation /wp-admin/admin.php?page=sgmp-documentation | 2.58 | 8.32 |
Server storage [IO: ▲1.87MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 393 new files
Database: no new tables, 11 new options
New WordPress options |
---|
recovery_mode_email_last_sent |
theysaidso_admin_options |
sgmp_geomashup_data_cache_time |
can_compress_scripts |
SGMP_INITIAL_WARNING |
widget_slickgooglemap |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Slick Google Map
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲170 | 14.41 ▲0.01 | 1.69 ▼0.03 | 40.11 ▼1.03 |
Dashboard /wp-admin | 2,291 ▲106 | 4.93 ▼0.92 | 101.29 ▼1.30 | 66.09 ▲26.38 |
Posts /wp-admin/edit.php | 2,180 ▲91 | 2.01 ▼0.02 | 35.68 ▼0.49 | 33.12 ▼1.12 |
Add New Post /wp-admin/post-new.php | 1,601 ▲82 | 22.95 ▼0.06 | 674.36 ▲6.50 | 39.01 ▼14.29 |
Media Library /wp-admin/upload.php | 1,476 ▲88 | 4.00 ▼0.21 | 98.91 ▼12.77 | 88.93 ▲40.60 |
Shortcode Builder /wp-admin/admin.php?page=sgmp-shortcodebuilder | 3,590 | 2.01 | 43.45 | 238.66 |
Saved Shortcodes /wp-admin/admin.php?page=sgmp-saved-shortcodes | 950 | 2.28 | 28.49 | 33.59 |
Settings /wp-admin/admin.php?page=sgmp-settings | 738 | 1.53 | 6.48 | 20.88 |
Documentation /wp-admin/admin.php?page=sgmp-documentation | 1,794 | 2.31 | 28.53 | 44.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/slick-google-map/admin-menu.php+230
Array and string offset access syntax with curly braces is deprecated
- Zombie WordPress options detected upon uninstall: 10 options
- sgmp_geomashup_data_cache_time
- db_upgraded
- sgmp_geomashup_data_cache
- recovery_mode_email_last_sent
- theysaidso_admin_options
- widget_theysaidso_widget
- SGMP_INITIAL_WARNING
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 44 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sgmp-documentation
- > Deprecated in wp-content/plugins/slick-google-map/admin-menu.php+291
Array and string offset access syntax with curly braces is deprecated
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sgmp-documentation
- > Deprecated in wp-content/plugins/slick-google-map/slick-google-map.php+138
Function create_function() is deprecated
- > GET request to /wp-admin/admin.php?page=sgmp-settings
- > Error in wp-content/plugins/slick-google-map/admin-menu.php+116
Uncaught Error: Call to undefined function mysql_get_server_info() in wp-content/plugins/slick-google-map/admin-menu.php:116
Stack trace:
#0 wp-content/plugins/slick-google-map/admin-menu.php(72): sgmp_generate_support_data()
#1 wp-includes/class-wp-hook.php(310): sgmp_settings_callback()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/admin.php(259): do_action()
#5 {main}
thrown
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
Please take a closer look at the following
- 9× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/slick-google-map/admin-bar-menu.php
- > /wp-content/plugins/slick-google-map/shortcode.php
- > /wp-content/plugins/slick-google-map/slick-google-map.php
- > /wp-content/plugins/slick-google-map/metabox.php
- > /wp-content/plugins/slick-google-map/head.php
- > /wp-content/plugins/slick-google-map/info.php
- > /wp-content/plugins/slick-google-map/functions.php
- > /wp-content/plugins/slick-google-map/admin-menu.php
- > /wp-content/plugins/slick-google-map/widget.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sgmp-documentation
- > Javascript (severe) in unknown
/wp-content/plugins/slick-google-map/assets/js/jquery.tools.tooltip.min.js?ver=1.2.5.a 18:151 Uncaught TypeError: Cannot read properties of undefined (reading 'msie')
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Tags: You are using too many tags: 35 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (Help tooltip in action), #2 (Documentation page), #3 (Shortcode builder page), #4 (Generated short code in the editor), #5 (Facebook style interactive interface for map markers with custom icons and text), #6 (Direction panel), #7 (Markers info window with the direction and street view), #8 (Street view in the marker's infer window), #9 (When having marker Geo mashup, you can display in the info bubble marker's original post and post content excerpt instead of normally address and lat/long)
slick-google-map/slick-google-map.php 92% from 13 tests
The main PHP file in "Slick Google Map" ver. 0.3 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 426 characters long)
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
Good job! No executable or dangerous file extensions detected5,264 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 394 | 219 | 1,975 |
PHP | 10 | 472 | 267 | 1,965 |
PO File | 7 | 236 | 700 | 563 |
JSON | 4 | 8 | 0 | 537 |
CSS | 2 | 1 | 1 | 197 |
make | 1 | 11 | 6 | 27 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 43.00 |
▷ Minimum class complexity | 43.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 11.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 83 | |
▷ Named functions | 83 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
333 PNG files occupy 1.40MB with 0.36MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/markers/restaurant_vegetarian.png | 1.21KB | 0.84KB | ▼ 30.65% |
assets/css/images/markers/firstaid.png | 0.76KB | 0.60KB | ▼ 21.07% |
assets/css/images/markers/letter_j.png | 0.67KB | 0.59KB | ▼ 11.44% |
assets/css/images/markers/wiki-export.png | 1.31KB | 0.92KB | ▼ 29.97% |
assets/css/images/markers/icy_road.png | 1.19KB | 0.77KB | ▼ 35.11% |