Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.95MB] [CPU: ▼31.97ms] Passed 4 tests
Server-side resources used by WP Google Auto Directions Path Finder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.28 ▼4.83 |
Dashboard /wp-admin | 2.99 ▼0.31 | 25.83 ▼22.86 |
Posts /wp-admin/edit.php | 2.99 ▼0.36 | 23.70 ▼28.20 |
Add New Post /wp-admin/post-new.php | 2.99 ▼2.89 | 24.48 ▼65.22 |
Media Library /wp-admin/upload.php | 2.99 ▼0.23 | 21.90 ▼11.60 |
WP Google Auto Directions Path Finder /wp-admin/options-general.php?page=wp-google-auto-directions-path-finder/wp-google-auto-directions-path-finder.php | 3.00 | 22.70 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Google Auto Directions Path Finder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲95 | 15.44 ▲0.65 | 43.28 ▲41.22 | 36.84 ▼8.24 |
Dashboard /wp-admin | 2,210 ▲22 | 5.90 ▲0.98 | 97.90 ▼12.17 | 41.20 ▲0.27 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.05 ▼0.01 | 33.70 ▼10.37 | 32.85 ▼3.24 |
Add New Post /wp-admin/post-new.php | 1,541 ▼1 | 23.40 ▲5.27 | 604.07 ▼22.94 | 48.21 ▼8.28 |
Media Library /wp-admin/upload.php | 1,386 ▲1 | 4.20 ▲0.02 | 98.33 ▼2.76 | 42.03 ▼0.26 |
WP Google Auto Directions Path Finder /wp-admin/options-general.php?page=wp-google-auto-directions-path-finder/wp-google-auto-directions-path-finder.php | 893 | 2.03 | 24.17 | 25.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure had uncaught errors
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=wp-google-auto-directions-path-finder/wp-google-auto-directions-path-finder.php
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
SRP 50% from 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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-google-auto-directions-path-finder/wp-google-auto-directions-path-finder.php:58
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Too many tags (52 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: No descriptions were found for these screenshots #1, #2 in wp-google-auto-directions-path-finder/assets to your readme.txt
wp-google-auto-directions-path-finder/wp-google-auto-directions-path-finder.php Passed 13 tests
"WP Google Auto Directions Path Finder" version 1.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
69 characters long description:
A plugin to get/find best route between two points with autodetection
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
There were no executable files found in this plugin464 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 51 | 32 | 179 |
JavaScript | 1 | 56 | 1 | 149 |
CSS | 1 | 23 | 0 | 107 |
HTML | 1 | 3 | 0 | 29 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 9 | |
▷ Named functions | 9 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/printer.png | 3.87KB | 1.35KB | ▼ 65.15% |
img/driving.png | 4.31KB | 1.39KB | ▼ 67.82% |
img/fsicon2.png | 4.79KB | 1.60KB | ▼ 66.66% |
img/pin.png | 3.34KB | 1.85KB | ▼ 44.62% |
img/fsicon.png | 4.79KB | 1.60KB | ▼ 66.66% |