Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.68MB] [CPU: ▲2.35ms] Passed 4 tests
Server-side resources used by IS-Google Maps Lite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 42.40 ▼4.94 |
Dashboard /wp-admin | 4.19 ▲0.88 | 56.52 ▲4.37 |
Posts /wp-admin/edit.php | 4.24 ▲0.88 | 60.10 ▲13.93 |
Add New Post /wp-admin/post-new.php | 6.71 ▲0.82 | 101.08 ▼1.12 |
Media Library /wp-admin/upload.php | 4.05 ▲0.82 | 50.61 ▲11.10 |
Dashboard /wp-admin/admin.php?page=advance-google-map-lite-wl | 4.07 | 43.79 |
Location /wp-admin/edit.php?post_type=wl_agm_locations | 4.15 | 46.39 |
Map /wp-admin/edit.php?post_type=wl_agm_maps | 4.15 | 42.50 |
Configure Plugin /wp-admin/admin.php?page=advance-google-map-lite-wl-help | 4.04 | 43.13 |
Route /wp-admin/edit.php?post_type=wl_agm_routes | 4.15 | 41.43 |
Interactive Map /wp-admin/edit.php?post_type=wl_agm_inter_maps | 4.15 | 44.95 |
Settings /wp-admin/admin.php?page=advance-google-map-lite-wl-settings | 4.03 | 39.13 |
Server storage [IO: ▲4.89MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 88 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_wl_agm_lite_map_widget |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for IS-Google Maps Lite
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,944 ▲183 | 13.89 ▼0.72 | 10.00 ▲8.08 | 44.80 ▼1.55 |
Dashboard /wp-admin | 2,241 ▲70 | 5.69 ▲0.12 | 91.30 ▲3.84 | 42.80 ▲2.38 |
Posts /wp-admin/edit.php | 2,148 ▲48 | 2.04 ▲0.04 | 39.29 ▲4.76 | 36.47 ▼5.23 |
Add New Post /wp-admin/post-new.php | 1,560 ▲34 | 23.34 ▲0.55 | 661.71 ▼39.83 | 58.39 ▼3.59 |
Media Library /wp-admin/upload.php | 1,446 ▲46 | 4.14 ▼0.07 | 110.46 ▲5.59 | 49.01 ▲2.36 |
Dashboard /wp-admin/admin.php?page=advance-google-map-lite-wl | 1,041 | 2.06 | 32.53 | 84.63 |
Location /wp-admin/edit.php?post_type=wl_agm_locations | 1,127 | 1.96 | 29.31 | 31.25 |
Map /wp-admin/edit.php?post_type=wl_agm_maps | 1,130 | 1.94 | 31.90 | 27.58 |
Configure Plugin /wp-admin/admin.php?page=advance-google-map-lite-wl-help | 999 | 2.19 | 30.35 | 43.01 |
Route /wp-admin/edit.php?post_type=wl_agm_routes | 1,127 | 1.94 | 29.96 | 32.49 |
Interactive Map /wp-admin/edit.php?post_type=wl_agm_inter_maps | 1,127 | 1.91 | 33.39 | 32.19 |
Settings /wp-admin/admin.php?page=advance-google-map-lite-wl-settings | 1,205 | 2.08 | 28.56 | 36.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_wl_agm_lite_map_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please 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 | 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 fix the following items
- 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 Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% 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
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #1, #10, #11, #2, #3, #4, #5, #6, #7, #8, #9 in advanced-google-maps-lite/assets to your readme.txt
- Tags: You are using too many tags: 12 tag instead of maximum 10
advanced-google-maps-lite/advance-google-maps-lite.php 77% from 13 tests
Analyzing the main PHP file in "IS-Google Maps Lite" version 1.2.6
The following require your attention:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 266 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("advanced-google-maps-lite.php" instead of "advance-google-maps-lite.php")
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
Success! There were no dangerous files found in this plugin44,799 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 | 351 | 217 | 3,879 |
PO File | 1 | 576 | 718 | 1,250 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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
All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.27MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/image/christmas.png | 194.21KB | 210.44KB | 0.00% |
admin/image/agmap_pro_banner.png | 79.74KB | 80.19KB | 0.00% |