Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- This plugin did not install gracefully
- > Error in wp-content/plugins/routeapp/includes/class-routeapp-logger-sentry.php+110
Uncaught Error: Call to undefined function wc_get_page_permalink() in wp-content/plugins/routeapp/includes/class-routeapp-logger-sentry.php:110
Stack trace:
#0 wp-content/plugins/routeapp/includes/class-routeapp-logger-sentry.php(85): Routeapp_Logger_Sentry->_prepare_event()
#1 wp-content/plugins/routeapp/public/class-routeapp-public.php(1311): Routeapp_Logger_Sentry->sentry_log()
#2 wp-content/plugins/routeapp/includes/class-routeapp-setup.php(93): Routeapp_Public->routeapp_log()
#3 wp-content/plugins/routeapp/includes/class-routeapp-setup.php(56): Route_Setup::create_user()
#4 wp-content/plugins/routeapp/includes/class-routeapp-activator.php(35): Route_Setup::init()
#5 wp-content/plugins/routeapp/routeapp.php(35): Routeapp_Activator::activate()
#6 wp-includes/class-wp-hook.php(310): activate_routeapp()
#7 wp-includes/class-wp-hook.php(334)
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.37ms] Passed 4 tests
Analyzing server-side resources used by Route ‑ Shipping Protection
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.77 ▼10.53 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.60 ▼3.11 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.89 ▲0.91 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.65 ▼4.76 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.14 ▲3.81 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 59 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
_routeapp_version |
can_compress_scripts |
widget_recent-posts |
_routeapp_last_install_date |
theysaidso_admin_options |
widget_theysaidso_widget |
routeapp_failed_registration |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Route ‑ Shipping Protection
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.70 ▲0.31 | 1.60 ▼0.15 | 36.53 ▼7.87 |
Dashboard /wp-admin | 2,198 ▲21 | 5.61 ▼0.06 | 92.86 ▼11.60 | 40.34 ▼5.90 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.06 | 40.17 ▲3.69 | 37.46 ▼0.54 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 25.44 ▲2.38 | 636.18 ▲13.07 | 64.97 ▲17.24 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.18 ▲0.03 | 98.83 ▲0.86 | 43.96 ▲4.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 9 options in the database
- _routeapp_last_install_date
- widget_theysaidso_widget
- widget_recent-posts
- _routeapp_version
- routeapp_failed_registration
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/routeapp/admin/partials/routeapp-admin-display.php
- 17× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Routeapp_WooCommerce_Common_Tracking_Provider' not found in wp-content/plugins/routeapp/includes/tracking-providers/class-routeapp-blazing-shipment-tracking.php:3
- > PHP Fatal error
Uncaught Error: Class 'Routeapp_WooCommerce_Common_Tracking_Provider' not found in wp-content/plugins/routeapp/includes/tracking-providers/class-routeapp-woocommerce-shipment-tracking.php:3
- > PHP Fatal error
Uncaught Error: Class 'Routeapp_WooCommerce_Common_Tracking_Provider' not found in wp-content/plugins/routeapp/includes/tracking-providers/class-routeapp-usps-woocommerce-shipping.php:3
- > PHP Fatal error
Uncaught Error: Class 'Routeapp_WooCommerce_Common_Tracking_Provider' not found in wp-content/plugins/routeapp/includes/tracking-providers/class-routeapp-shippingeasy.php:4
- > PHP Fatal error
Uncaught Error: Class 'Routeapp_API_Client' not found in wp-content/plugins/routeapp/includes/class-routeapp-api-compatibility.php:12
- > PHP Fatal error
Uncaught Error: Class 'Routeapp_WooCommerce_Common_Tracking_Provider' not found in wp-content/plugins/routeapp/includes/tracking-providers/class-routeapp-aftership-shipment-tracking.php:3
- > PHP Fatal error
Uncaught Error: Class 'Routeapp_WooCommerce_Common_Tracking_Provider' not found in wp-content/plugins/routeapp/includes/tracking-providers/class-routeapp-astracker-shipment-tracking.php:3
- > PHP Fatal error
Uncaught Error: Class 'Routeapp_WooCommerce_Common_Tracking_Provider' not found in wp-content/plugins/routeapp/includes/tracking-providers/class-routeapp-wooshippinginfo-tracking.php:3
- > PHP Fatal error
Uncaught Error: Class 'Routeapp_WooCommerce_Common_Tracking_Provider' not found in wp-content/plugins/routeapp/includes/tracking-providers/class-routeapp-shipstation.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_rest_url() in wp-content/plugins/routeapp/admin/partials/routeapp-admin-user-conflict.php:8
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: routeapp, protection, route, tracking
routeapp/routeapp.php 92% from 13 tests
The main PHP script in "Route ‑ Shipping Protection" version 2.2.8 is automatically included on every request by WordPress
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 160 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin5,555 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 46 | 1,068 | 1,616 | 5,158 |
JavaScript | 5 | 30 | 36 | 234 |
CSS | 3 | 8 | 4 | 163 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 22.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 210.00 |
Average method complexity | 3.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 39 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 39 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 411 | |
▷ Static methods | 88 | 21.41% |
▷ Public methods | 338 | 82.24% |
▷ Protected methods | 6 | 1.46% |
▷ Private methods | 67 | 16.30% |
Functions | 10 | |
▷ Named functions | 5 | 50.00% |
▷ Anonymous functions | 5 | 50.00% |
Constants | 59 | |
▷ Global constants | 1 | 1.69% |
▷ Class constants | 58 | 98.31% |
▷ Public constants | 58 | 100.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
There are no PNG files in this plugin