Benchmarks
Plugin footprint 48% 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: ▼1.51MB] [CPU: ▼47.37ms] Passed 4 tests
An overview of server-side resources used by Wordpress responsive google map
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.49 ▼0.98 | 11.48 ▼31.13 |
Dashboard /wp-admin | 2.50 ▼0.80 | 12.65 ▼38.28 |
Posts /wp-admin/edit.php | 2.50 ▼0.86 | 13.64 ▼35.05 |
Add New Post /wp-admin/post-new.php | 2.50 ▼3.39 | 11.99 ▼85.02 |
Media Library /wp-admin/upload.php | 2.50 ▼0.73 | 24.08 ▼18.91 |
Google Maps /wp-admin/admin.php?page=rgm_view_overview | 2.50 | 11.96 |
Locations /wp-admin/admin.php?page=rgm_manage_location | 2.50 | 15.96 |
Add Location /wp-admin/admin.php?page=rgm_form_location | 2.50 | 12.92 |
Settings /wp-admin/admin.php?page=rgm_manage_settings | 2.50 | 10.78 |
Docs /wp-admin/admin.php?page=rgm_view_docs | 2.50 | 12.22 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 20 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_rgm_map_locations |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Wordpress responsive google map
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲167 | 13.55 ▼0.67 | 5.36 ▲3.81 | 45.41 ▲4.09 |
Dashboard /wp-admin | 2,225 ▲34 | 5.79 ▲0.89 | 158.97 ▲51.94 | 82.68 ▲37.15 |
Posts /wp-admin/edit.php | 2,129 ▲40 | 2.02 ▲0.02 | 38.49 ▼5.28 | 32.46 ▼11.93 |
Add New Post /wp-admin/post-new.php | 1,694 ▲161 | 22.03 ▼0.88 | 676.95 ▲2.34 | 63.42 ▲4.45 |
Media Library /wp-admin/upload.php | 1,422 ▲31 | 4.21 ▼0.02 | 102.54 ▼7.72 | 89.93 ▲43.15 |
Google Maps /wp-admin/admin.php?page=rgm_view_overview | 847 | 2.02 | 31.73 | 30.91 |
Locations /wp-admin/admin.php?page=rgm_manage_location | 1,019 | 2.06 | 29.52 | 34.36 |
Add Location /wp-admin/admin.php?page=rgm_form_location | 902 | 2.02 | 26.37 | 28.29 |
Settings /wp-admin/admin.php?page=rgm_manage_settings | 1,287 | 2.15 | 28.54 | 29.37 |
Docs /wp-admin/admin.php?page=rgm_view_docs | 871 | 2.01 | 25.60 | 28.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Uninstall procedure had uncaught errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'NOResponsiveGoogleMaps' does not have a method 'wpgmp_google_map_widget'
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_rgm_map_locations
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=rgm_view_docs
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'NOResponsiveGoogleMaps' does not have a method 'wpgmp_google_map_widget'
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=rgm_view_docs
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+204
Undefined offset: 0
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=rgm_view_docs
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+205
Trying to get property 'guid' of non-object
- 40 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=rgm_view_docs
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+221
Trying to get property 'ID' of non-object
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=rgm_view_docs
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+222
Trying to get property 'post_title' of non-object
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=rgm_manage_settings
- > Notice in wp-content/plugins/wp-responsive-google-map/inc/modules/settings/views/manage.php+14
Undefined variable: response
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=rgm_manage_settings
- > Notice in wp-content/plugins/wp-responsive-google-map/inc/modules/settings/views/manage.php+14
Trying to access array offset on value of type null
- > GET request to /wp-admin/admin.php?page=rgm_manage_location
- > Notice in wp-content/plugins/wp-responsive-google-map/inc/classes/rgm_wp_list_table.php+484
Undefined index: s
SRP 0% 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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-responsive-google-map/wp-responsive-google-map.php
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-responsive-google-map/inc/modules/location/views/form.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-responsive-google-map/inc/modules/location/views/manage.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-responsive-google-map/inc/modules/overview/views/view.php:4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-responsive-google-map/inc/classes/rgm_wp_list_table.php on line 9
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/wp-responsive-google-map/inc/classes/rgm_wp_list_table.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-responsive-google-map/inc/modules/docs/views/view.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-responsive-google-map/inc/modules/settings/views/manage.php:6
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-responsive-google-map/inc/classes/rgm_wp_list_table.php on line 9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Contributors: Plugin contributors field is missing
wp-responsive-google-map/wp-responsive-google-map.php Passed 13 tests
The primary PHP file in "Wordpress responsive google map" version 1.0.0 is used by WordPress to initiate all plugin functionality
127 characters long description:
A Responsive Google Maps plugin to display custom markers on the google maps. Show custom message with links on a marker click.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin1,388 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 283 | 253 | 1,239 |
JavaScript | 1 | 25 | 5 | 95 |
CSS | 1 | 8 | 0 | 54 |
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.51 |
Average class complexity | 23.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 82.00 |
Average method complexity | 4.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 8 | 14.81% |
▷ Public methods | 48 | 88.89% |
▷ Protected methods | 3 | 5.56% |
▷ Private methods | 3 | 5.56% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 13 | 92.86% |
▷ Class constants | 1 | 7.14% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/marker.png | 1.05KB | 1.18KB | 0.00% |
assets/images/rgm.png | 0.81KB | 0.73KB | ▼ 10.70% |