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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼11.06ms] Passed 4 tests
Analyzing server-side resources used by WP Map Route Planner
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 38.23 ▼2.04 |
Dashboard /wp-admin | 3.38 ▲0.08 | 47.20 ▼3.65 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 47.91 ▲1.83 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 87.08 ▼40.38 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.55 ▲3.24 |
Route Planner /wp-admin/admin.php?page=delivery_route_planner | 3.32 | 32.60 |
Map Settings /wp-admin/admin.php?page=rp_setting | 3.30 | 32.85 |
Server storage [IO: ▲1.41MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 55 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Map Route Planner
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲92 | 13.17 ▼1.21 | 1.58 ▼0.10 | 39.72 ▼4.08 |
Dashboard /wp-admin | 2,230 ▲42 | 4.83 ▼0.19 | 96.46 ▼3.52 | 37.52 ▼5.53 |
Posts /wp-admin/edit.php | 2,119 ▲33 | 2.04 ▼0.00 | 41.42 ▲1.58 | 38.05 ▲4.10 |
Add New Post /wp-admin/post-new.php | 1,537 ▼7 | 23.36 ▲4.99 | 579.96 ▼53.30 | 45.53 ▼7.16 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.17 ▼0.04 | 100.95 ▼4.28 | 43.24 ▼1.31 |
Route Planner /wp-admin/admin.php?page=delivery_route_planner | 1,059 | 2.42 | 45.04 | 36.36 |
Map Settings /wp-admin/admin.php?page=rp_setting | 985 | 1.83 | 28.36 | 31.17 |
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 did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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)
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=delivery_route_planner
- > Console-api (warning) in unknown
https://maps.google.com/maps/api/js?key=&sensor=false 210:51 "Google Maps JavaScript API has been loaded directly without a callback. This is not supported and can lead to race conditions and suboptimal performance. For supported loading patterns please see https://goo.gle/js-api-loading"
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
9 plugin tags: google map, route planning, google map route, woo-commerce order route, route...
wp-map-route-planner/wp-map-route-planner.php 85% from 13 tests
Analyzing the main PHP file in "WP Map Route Planner" version 1.0.0
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 158 characters long)
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected11,097 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 668 | 414 | 4,063 |
CSS | 10 | 101 | 79 | 3,987 |
PHP | 18 | 275 | 690 | 2,392 |
SVG | 1 | 0 | 0 | 655 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 1.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 2 | 6.67% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.67% |
Functions | 3 | |
▷ Named functions | 3 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/marker_blue.png | 1.36KB | 0.57KB | ▼ 57.70% |
admin/images/marker_green.png | 1.37KB | 0.58KB | ▼ 57.60% |
admin/images/marker_red.png | 1.38KB | 0.59KB | ▼ 57.34% |