Benchmarks
Plugin footprint 65% 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.97MB] [CPU: ▼37.64ms] Passed 4 tests
Server-side resources used by Plugin Name: GMO Google Map
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.26 ▼1.69 |
Dashboard /wp-admin | 3.00 ▼0.31 | 26.80 ▼24.44 |
Posts /wp-admin/edit.php | 3.00 ▼0.44 | 24.11 ▼49.39 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.89 | 23.27 ▼65.13 |
Media Library /wp-admin/upload.php | 3.00 ▼0.23 | 20.32 ▼11.59 |
GMO Google Map /wp-admin/options-general.php?page=gmo-google-map/gmo-google-map.php | 3.00 | 23.38 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Plugin Name: GMO Google Map
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲72 | 13.70 ▼0.23 | 1.75 ▲0.10 | 43.45 ▼0.47 |
Dashboard /wp-admin | 2,207 ▲16 | 5.83 ▼0.05 | 100.53 ▼8.34 | 36.21 ▼7.55 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.02 ▲0.02 | 39.57 ▲0.30 | 35.57 ▲0.26 |
Add New Post /wp-admin/post-new.php | 1,522 ▼15 | 23.31 ▲0.20 | 690.61 ▲12.48 | 54.27 ▲0.91 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.21 ▼0.03 | 99.05 ▼1.21 | 46.26 ▲2.92 |
GMO Google Map /wp-admin/options-general.php?page=gmo-google-map/gmo-google-map.php | 919 | 2.01 | 24.63 | 54.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
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 errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=gmo-google-map/gmo-google-map.php
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=gmo-google-map/gmo-google-map.php
- > Notice in wp-content/plugins/gmo-google-map/includes/admin.php+38
Undefined index: input_Address
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=gmo-google-map/gmo-google-map.php
- > Notice in wp-content/plugins/gmo-google-map/includes/admin.php+39
Undefined index: input_Width
- > GET request to /wp-admin/options-general.php?page=gmo-google-map/gmo-google-map.php
- > Notice in wp-content/plugins/gmo-google-map/gmo-google-map.php+53
Undefined index: input_Heignt
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=gmo-google-map/gmo-google-map.php
- > Notice in wp-content/plugins/gmo-google-map/includes/admin.php+41
Undefined index: input_Zoom
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=gmo-google-map/gmo-google-map.php
- > Notice in wp-content/plugins/gmo-google-map/includes/admin.php+42
Undefined index: input_Breakpoint
- > GET request to /wp-admin/options-general.php?page=gmo-google-map/gmo-google-map.php
- > Notice in wp-content/plugins/gmo-google-map/includes/admin.php+40
Undefined index: input_Height
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 fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gmo-google-map/gmo-google-map.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/gmo-google-map/includes/admin.php:1
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=gmo-google-map/gmo-google-map.php
- > Network (severe)
wp-content/plugins/gmo-google-map/css/gmo-admin-plugin.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=gmo-google-map/gmo-google-map.php
- > Network (severe)
wp-content/plugins/gmo-google-map/images/bnr_themes.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=gmo-google-map/gmo-google-map.php
- > Network (severe)
wp-content/plugins/gmo-google-map/images/bnr_plugins.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=gmo-google-map/gmo-google-map.php
- > Network (severe)
wp-content/plugins/gmo-google-map/images/logo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 83% 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
Please fix the following attributes:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== Plugin Name: GMO Google Map ===
)
gmo-google-map/gmo-google-map.php 69% from 13 tests
Analyzing the main PHP file in "Plugin Name: GMO Google Map" version 1.2
It is important to fix the following:
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("")
- Domain Path: Please prefix the domain path with a forward slash character ("/")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 249 characters long)
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin2,009 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 408 | 57 | 1,734 |
PHP | 2 | 39 | 13 | 215 |
CSS | 1 | 8 | 0 | 36 |
JSON | 1 | 0 | 0 | 24 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 3.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 10 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 9.09% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 PNG files occupy 0.19MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/wpcloud_bnr_themes.png | 8.66KB | 3.83KB | ▼ 55.75% |
images/wpcloud_bnr_plugins.png | 9.14KB | 4.07KB | ▼ 55.50% |
images/wpcloud_logo.png | 4.90KB | 2.99KB | ▼ 39.04% |
images/ico_link.png | 1.00KB | 0.21KB | ▼ 79.07% |
images/wpshop_logo.png | 7.22KB | 5.91KB | ▼ 18.12% |