Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼8.51ms] Passed 4 tests
Analyzing server-side resources used by TechGasp Maps Master
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.84 ▼2.02 |
Dashboard /wp-admin | 3.33 ▲0.03 | 43.91 ▼5.56 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 44.99 ▼5.22 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 81.32 ▼21.24 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.57 ▲4.62 |
Add-ons /wp-admin/admin.php?page=google-maps-master-admin-addons | 3.29 | 31.40 |
Maps Master /wp-admin/admin.php?page=google-maps-master | 3.25 | 30.01 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_google_maps_master_widget_maps_basic |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_google_maps_master_widget_viral |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for TechGasp Maps Master
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲91 | 13.64 ▼0.74 | 1.66 ▼0.39 | 38.04 ▼6.64 |
Dashboard /wp-admin | 2,232 ▲44 | 5.86 ▲0.95 | 98.53 ▼7.15 | 67.45 ▲25.79 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.02 ▲0.01 | 39.00 ▼1.51 | 36.91 ▲0.82 |
Add New Post /wp-admin/post-new.php | 1,689 ▲156 | 22.29 ▼0.89 | 714.93 ▲131.09 | 49.72 ▼3.83 |
Media Library /wp-admin/upload.php | 1,414 ▲26 | 4.21 ▼0.04 | 96.05 ▼5.32 | 72.49 ▲29.94 |
Add-ons /wp-admin/admin.php?page=google-maps-master-admin-addons | 1,095 | 2.05 | 23.59 | 32.60 |
Maps Master /wp-admin/admin.php?page=google-maps-master | 1,765 | 8.27 | 205.37 | 79.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_google_maps_master_widget_maps_basic
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_google_maps_master_widget_viral
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
Please take a closer look at the following
- 8× 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/google-maps-master/includes/google-maps-master-widget-viral.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/google-maps-master/includes/google-maps-master-admin.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/google-maps-master/includes/google-maps-master-admin-table-news.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/google-maps-master/includes/google-maps-master-widget-maps-basic.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/google-maps-master/includes/google-maps-master-admin-table-header.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/google-maps-master/includes/google-maps-master-admin-addons-table.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/google-maps-master/google-maps-master.php:54
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/google-maps-master/includes/google-maps-master-admin-addons.php:38
- > PHP Fatal error
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 take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=google-maps-master
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/admin.php?page=google-maps-master
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
- > GET request to /wp-admin/admin.php?page=google-maps-master
- > Deprecation (warning) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/yx/r/RBH7b7zeA6F.js?_nc_x=Ij3Wp8lg5Kz 271 Listener added for a synchronous 'DOMSubtreeModified' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
- > GET request to /wp-admin/admin.php?page=google-maps-master
- > Console-api (severe) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/yx/r/RBH7b7zeA6F.js?_nc_x=Ij3Wp8lg5Kz 60:573 "ErrorUtils caught an error:\n\nCannot listen to an undefined element. [Caught in: Tried to listen to element of type click]\n\nSubsequent non-fatal errors won't be logged; see https://fburl.com/debugjs."
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
google-maps-master/google-maps-master.php Passed 13 tests
The main PHP script in "TechGasp Maps Master" version 5.1.4 is automatically included on every request by WordPress
103 characters long description:
TechGasp Maps Master is the professional wordpress plugin to display map locations with Google Maps V3.
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
Success! There were no dangerous files found in this plugin831 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 32 | 75 | 831 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 11.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 6.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 2 | 15.38% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
11 PNG files occupy 0.29MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/techgasp-admin-addons-support.png | 15.84KB | 14.85KB | ▼ 6.26% |
images/techgasp-hr.png | 0.94KB | 0.13KB | ▼ 86.60% |
images/techgasp-check-no.png | 21.14KB | 7.14KB | ▼ 66.23% |
images/techgasp-admin-addons-widgets.png | 17.08KB | 16.02KB | ▼ 6.22% |
images/techgasp_empty_avatar.png | 0.90KB | 0.09KB | ▼ 89.70% |