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
Install script ran successfully
Server metrics [RAM: ▼0.30MB] [CPU: ▼166.10ms] Passed 4 tests
A check of server-side resources used by Mulit Location Google Map
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.05 | 35.82 ▼22.62 |
Dashboard /wp-admin | 3.10 ▲0.05 | 48.91 ▼19.36 |
Posts /wp-admin/edit.php | 3.16 ▲0.05 | 47.27 ▼0.30 |
Add New Post /wp-admin/post-new.php | 4.09 ▼1.35 | 54.47 ▼622.11 |
Media Library /wp-admin/upload.php | 3.05 ▲0.05 | 33.46 ▲4.34 |
All Locations /wp-admin/edit.php?post_type=clupmap | 3.09 | 33.28 |
Add Location /wp-admin/post-new.php?post_type=clupmap | 2.98 | 35.10 |
Settings /wp-admin/edit.php?page=clupmap-settings | 2.83 | 20.48 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 2 new options
New WordPress options |
---|
gmap_api_key |
gmap_zoom |
Browser metrics Passed 4 tests
An overview of browser requirements for Mulit Location Google Map
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,753 ▲171 | 16.30 ▲0.34 | 10.52 ▲0.88 | 50.64 ▼13.32 |
Dashboard /wp-admin | 3,015 ▲81 | 5.84 ▼0.35 | 146.06 ▼29.15 | 111.20 ▼28.30 |
Posts /wp-admin/edit.php | 2,781 ▲42 | 2.68 ▼0.01 | 69.54 ▼6.44 | 93.19 ▼7.17 |
Add New Post /wp-admin/post-new.php | 1,711 ▲28 | 17.43 ▼1.25 | 383.34 ▲11.43 | 111.86 ▲0.80 |
Media Library /wp-admin/upload.php | 1,867 ▲60 | 5.00 ▼0.04 | 160.20 ▲12.67 | 122.30 ▼9.05 |
All Locations /wp-admin/edit.php?post_type=clupmap | 1,435 | 2.62 | 65.35 | 66.36 |
Add Location /wp-admin/post-new.php?post_type=clupmap | 2,465 | 5.02 | 146.50 | 83.81 |
Settings /wp-admin/edit.php?page=clupmap-settings | 28 | 0.90 | 0.06 | 10.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 2 options in the database
- gmap_api_key
- gmap_zoom
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/post-new.php?post_type=clupmap
- > Notice in wp-content/plugins/multi-location-google-map/function.php+80
Undefined index: your_meta_box_nonce
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
Please take a closer look at the following
- 4× 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/multi-location-google-map/function.php:118
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/multi-location-google-map/multi-location-gmap.php:32
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/multi-location-google-map/map.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/multi-location-google-map/shortcode.php:9
- > 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/edit.php?page=clupmap-settings
- > Network (severe)
wp-admin/edit.php?page=clupmap-settings - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Donate link: Invalid URI found ("")
multi-location-google-map/multi-location-gmap.php 77% from 13 tests
The entry point to "Mulit Location Google Map" version 1.0.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 164 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("multi-location-google-map.php" instead of "multi-location-gmap.php")
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
Everything looks great! No dangerous files found in this plugin266 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 42 | 34 | 223 |
CSS | 1 | 0 | 0 | 43 |
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.36 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin