Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▲5.19ms] Passed 4 tests
Server-side resources used by Google Maps VE
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 42.73 ▲0.52 |
Dashboard /wp-admin | 3.48 ▲0.18 | 57.12 ▲6.74 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 61.40 ▲16.26 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 103.49 ▲3.07 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 43.69 ▲10.41 |
List of all polylines /wp-admin/edit.php?post_type=gmaps_polyline_ve | 3.45 | 48.83 |
List of all markers /wp-admin/edit.php?post_type=gmaps_marker_ve | 3.45 | 45.60 |
Marker parameters /wp-admin/edit-tags.php?taxonomy=marker_category&post_type=gmaps_map_ve | 3.40 | 43.10 |
List of all polygons /wp-admin/edit.php?post_type=gmaps_polygon_ve | 3.45 | 54.47 |
List of maps /wp-admin/edit.php?post_type=gmaps_map_ve | 3.45 | 47.20 |
Add new map /wp-admin/post-new.php?post_type=gmaps_map_ve | 3.46 | 53.53 |
Server storage [IO: ▲1.58MB] [DB: ▲0.09MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Google Maps VE
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,022 ▲276 | 15.06 ▲0.77 | 1.66 ▼0.24 | 40.47 ▼3.06 |
Dashboard /wp-admin | 2,415 ▲227 | 6.66 ▲1.77 | 124.61 ▲5.45 | 40.11 ▼7.13 |
Posts /wp-admin/edit.php | 2,324 ▲235 | 3.53 ▲1.52 | 51.98 ▲13.70 | 32.75 ▼4.46 |
Add New Post /wp-admin/post-new.php | 1,573 ▲40 | 23.16 ▲0.01 | 612.22 ▼2.24 | 40.75 ▼18.68 |
Media Library /wp-admin/upload.php | 1,460 ▲69 | 4.50 ▲0.25 | 82.26 ▼14.63 | 42.91 ▲1.46 |
List of all polylines /wp-admin/edit.php?post_type=gmaps_polyline_ve | 1,297 | 3.51 | 60.21 | 28.16 |
List of all markers /wp-admin/edit.php?post_type=gmaps_marker_ve | 1,303 | 3.51 | 50.97 | 27.70 |
Marker parameters /wp-admin/edit-tags.php?taxonomy=marker_category&post_type=gmaps_map_ve | 1,497 | 3.45 | 41.13 | 31.31 |
List of all polygons /wp-admin/edit.php?post_type=gmaps_polygon_ve | 1,297 | 3.53 | 49.60 | 26.93 |
List of maps /wp-admin/edit.php?post_type=gmaps_map_ve | 1,297 | 3.64 | 51.84 | 28.61 |
Add new map /wp-admin/post-new.php?post_type=gmaps_map_ve | 2,192 | 4.22 | 72.40 | 38.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.09MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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 to be fixed:
- Screenshots: These screenshots require images: #5 (PRO version editor button.), #6 (Override map settings for post or page only.)
- Tags: Please reduce the number of tags, currently 27 tag instead of maximum 10
google-maps-ve/google-maps-ve.php Passed 13 tests
The main file in "Google Maps VE" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
23 characters long description:
Create your google maps
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected3,272 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 280 | 26 | 2,737 |
PO File | 1 | 186 | 362 | 416 |
CSS | 1 | 10 | 0 | 83 |
JavaScript | 1 | 3 | 0 | 36 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 41.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 103.00 |
Average method complexity | 5.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 6 | 12.00% |
▷ Public methods | 50 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 23 | |
▷ Global constants | 4 | 17.39% |
▷ Class constants | 19 | 82.61% |
▷ Public constants | 19 | 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.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
media/img/default-marker.png | 0.84KB | 1.10KB | 0.00% |