Benchmarks
Plugin footprint 82% 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.68MB] [CPU: ▼294.09ms] 75% from 4 tests
A check of server-side resources used by Weblizar for Google Maps Lite
The following require your attention
- CPU: You should keep total CPU usage under 500.00ms (currently 894.18ms on /wp-admin/admin.php?page=)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.27 | 62.74 ▲10.81 |
Dashboard /wp-admin | 4.23 ▲0.83 | 63.01 ▼29.21 |
Posts /wp-admin/edit.php | 4.46 ▲0.82 | 112.12 ▲74.72 |
Add New Post /wp-admin/post-new.php | 7.76 ▲0.79 | 109.40 ▼1,159.98 |
Media Library /wp-admin/upload.php | 4.18 ▲0.89 | 30.57 ▲2.02 |
Location /wp-admin/edit.php?post_type=wl_agm_locations | 4.23 | 33.20 |
Route /wp-admin/edit.php?post_type=wl_agm_routes | 4.23 | 31.63 |
Dashboard /wp-admin/admin.php?page=advance-google-map-lite-wl | 4.18 | 37.97 |
Map /wp-admin/edit.php?post_type=wl_agm_maps | 4.23 | 36.85 |
Settings /wp-admin/admin.php?page=advance-google-map-lite-wl-settings | 4.12 | 28.83 |
Interactive Map /wp-admin/edit.php?post_type=wl_agm_inter_maps | 4.23 | 28.51 |
Recommendation /wp-admin/admin.php?page= | 4.29 | 894.18 |
Configure Plugin /wp-admin/admin.php?page=advance-google-map-lite-wl-help | 4.12 | 33.65 |
Server storage [IO: ▲4.70MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 87 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_wl_agm_lite_map_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Weblizar for Google Maps Lite
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,954 ▲200 | 16.97 ▲0.94 | 12.59 ▲6.33 | 2.64 ▲0.09 |
Dashboard /wp-admin | 2,939 ▲78 | 6.11 ▼0.06 | 134.50 ▲1.54 | 163.65 ▼2.65 |
Posts /wp-admin/edit.php | 2,751 ▲64 | 3.24 ▲0.01 | 65.28 ▼14.07 | 149.97 ▼17.83 |
Add New Post /wp-admin/post-new.php | 1,735 ▲69 | 21.67 ▲0.88 | 482.08 ▲24.08 | 162.64 ▼5.77 |
Media Library /wp-admin/upload.php | 1,756 ▲58 | 5.50 ▼0.02 | 152.14 ▲10.56 | 226.15 ▲42.53 |
Location /wp-admin/edit.php?post_type=wl_agm_locations | 1,683 | 3.17 | 65.36 | 191.87 |
Route /wp-admin/edit.php?post_type=wl_agm_routes | 1,688 | 3.17 | 63.91 | 189.62 |
Dashboard /wp-admin/admin.php?page=advance-google-map-lite-wl | 1,393 | 3.12 | 63.59 | 281.99 |
Map /wp-admin/edit.php?post_type=wl_agm_maps | 1,686 | 3.17 | 61.82 | 191.62 |
Settings /wp-admin/admin.php?page=advance-google-map-lite-wl-settings | 1,508 | 3.06 | 68.55 | 210.44 |
Interactive Map /wp-admin/edit.php?post_type=wl_agm_inter_maps | 1,601 | 3.17 | 62.83 | 228.06 |
Recommendation /wp-admin/admin.php?page= | 3,280 | 2.39 | 56.45 | 178.81 |
Configure Plugin /wp-admin/admin.php?page=advance-google-map-lite-wl-help | 1,303 | 3.08 | 60.50 | 175.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 1 option in the database
- widget_wl_agm_lite_map_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=advance-google-map-lite-wl-settings
- > Notice in wp-content/plugins/advanced-google-maps-lite/admin/inc/helpers/WL_AGM_LITE_Helper.php+25
Trying to access array offset on value of type bool
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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/advanced-google-maps-lite/admin/inc/wl_agm_recommendation.php
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)
There are user-side issues you should fix
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=wl_agm_inter_maps
- > Network (severe)
wp-content/plugins/advanced-google-maps-lite/admin/css/img/bg.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
- Screenshots: No descriptions were found for these screenshots #1, #10, #11, #2, #3, #4, #5, #6, #7, #8, #9 in advanced-google-maps-lite/assets to your readme.txt
advanced-google-maps-lite/advance-google-maps-lite.php 77% from 13 tests
The principal PHP file in "Weblizar for Google Maps Lite" v. 1.2.3 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("advanced-google-maps-lite.php" instead of "advance-google-maps-lite.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 266 characters long)
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin44,855 lines of code in 68 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 15 | 3,199 | 59 | 16,818 |
JavaScript | 21 | 1,354 | 458 | 14,075 |
SVG | 3 | 0 | 12 | 8,777 |
PHP | 28 | 343 | 216 | 3,935 |
PO File | 1 | 576 | 718 | 1,250 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 20.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 4.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 1 | 6.25% |
Methods | 95 | |
▷ Static methods | 88 | 92.63% |
▷ Public methods | 92 | 96.84% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 3.16% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 5 | 45.45% |
▷ Class constants | 6 | 54.55% |
▷ Public constants | 6 | 100.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
1 compressed PNG file occupies 0.08MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/image/agmap_pro_banner.png | 79.74KB | 80.19KB | 0.00% |