Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.45MB] [CPU: ▼334.79ms] Passed 4 tests
This is a short check of server-side resources used by ASR Google Map
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.00 ▼0.52 | 16.24 ▼34.19 |
Dashboard /wp-admin | 2.92 ▼0.49 | 15.56 ▼17.03 |
Posts /wp-admin/edit.php | 2.92 ▼0.72 | 15.22 ▼22.81 |
Add New Post /wp-admin/post-new.php | 2.92 ▼4.05 | 13.93 ▼1,265.12 |
Media Library /wp-admin/upload.php | 2.92 ▼0.38 | 13.56 ▼10.63 |
Add New Map /wp-admin/post-new.php?post_type=gmap-pro | 2.92 | 14.87 |
All Maps /wp-admin/edit.php?post_type=gmap-pro | 2.92 | 14.42 |
Map Setting /wp-admin/edit.php?post_type=gmap-pro&page=setting | 2.92 | 14.59 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
ASR Google Map: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,840 ▲86 | 17.30 ▲1.18 | 14.88 ▲8.79 | 2.19 ▼1.28 |
Dashboard /wp-admin | 2,939 ▲85 | 6.23 ▲0.03 | 117.72 ▼17.38 | 156.61 ▼6.24 |
Posts /wp-admin/edit.php | 2,735 ▲41 | 3.24 ▲0.00 | 63.06 ▼0.66 | 141.13 ▲5.31 |
Add New Post /wp-admin/post-new.php | 1,789 ▲37 | 23.02 ▲2.04 | 420.23 ▼47.07 | 154.02 ▼8.78 |
Media Library /wp-admin/upload.php | 1,743 ▲45 | 5.46 ▼0.06 | 147.35 ▼6.63 | 183.50 ▼8.98 |
Add New Map /wp-admin/post-new.php?post_type=gmap-pro | 2,085 | 4.12 | 93.65 | 143.51 |
All Maps /wp-admin/edit.php?post_type=gmap-pro | 1,424 | 2.93 | 61.82 | 113.09 |
Map Setting /wp-admin/edit.php?post_type=gmap-pro&page=setting | 1,064 | 2.38 | 53.66 | 108.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin cannot be uninstalled
- > Warning in wp-includes/class-wp-post-type.php+582
Invalid argument supplied for foreach()
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=gmap-pro&page=setting
- > Warning in wp-includes/class-wp-post-type.php+582
Invalid argument supplied for foreach()
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% 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
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
asr-google-map/asr-google-map.php 77% from 13 tests
Analyzing the main PHP file in "ASR Google Map" version 1.0
You should first fix the following items:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Description: Keep the plugin description shorter than 140 characters (currently 145 characters long)
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected341 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 48 | 73 | 222 |
CSS | 1 | 18 | 2 | 85 |
JavaScript | 1 | 6 | 0 | 34 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
3 PNG files occupy 0.48MB with 0.28MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 396.11KB | 107.52KB | ▼ 72.86% |
screenshot-1.png | 44.14KB | 21.22KB | ▼ 51.93% |
screenshot-2.png | 50.13KB | 24.97KB | ▼ 50.18% |