Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▲1.03ms] Passed 4 tests
Analyzing server-side resources used by MW Google Maps
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 43.44 ▲0.29 |
Dashboard /wp-admin | 3.38 ▲0.07 | 50.21 ▲1.91 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 52.27 ▼0.07 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 99.26 ▲7.71 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.59 ▲1.99 |
MW Google Maps /wp-admin/options-general.php?page=mw-google-maps/system/mw_google_maps_admin_page.php | 3.24 | 32.02 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
MW Google Maps: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,940 ▲205 | 14.79 ▲0.35 | 24.03 ▲22.03 | 42.74 ▼0.03 |
Dashboard /wp-admin | 2,210 ▲22 | 4.84 ▼0.23 | 107.31 ▼10.24 | 37.99 ▼10.52 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▲0.00 | 39.83 ▲0.59 | 34.12 ▼3.99 |
Add New Post /wp-admin/post-new.php | 1,517 ▼16 | 17.69 ▼5.59 | 683.57 ▲89.98 | 54.93 ▼0.67 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.19 ▼0.04 | 97.10 ▼7.49 | 40.79 ▼3.08 |
MW Google Maps /wp-admin/options-general.php?page=mw-google-maps/system/mw_google_maps_admin_page.php | 830 | 2.05 | 23.14 | 26.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=mw-google-maps/system/mw_google_maps_admin_page.php
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=mw-google-maps/system/mw_google_maps_admin_page.php
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=mw-google-maps/system/mw_google_maps_admin_page.php
- > Notice in wp-content/plugins/mw-google-maps/system/mw_google_maps_admin_page.php+102
Trying to access array offset on value of type bool
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=mw-google-maps/system/mw_google_maps_admin_page.php
- > Notice in wp-content/plugins/mw-google-maps/system/mw_google_maps_admin_page.php+102
Trying to access array offset on value of type null
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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/mw-google-maps/mw-google-maps.php:41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: route, map, googlemaps, google
mw-google-maps/mw-google-maps.php Passed 13 tests
The primary PHP file in "MW Google Maps" version 1.3.1 is used by WordPress to initiate all plugin functionality
50 characters long description:
MW Google Maps adds google maps in your post easy.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin623 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 43 | 150 | 359 |
JavaScript | 1 | 25 | 83 | 211 |
PO File | 1 | 13 | 15 | 45 |
CSS | 1 | 1 | 0 | 8 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 19.50 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 2 | 9.52% |
▷ Public methods | 18 | 85.71% |
▷ Protected methods | 3 | 14.29% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected