Does "Calculate Prices based on Distance For WooCommerce" work with WordPress 6.8.2 and PHP 8.1.12? A smoke test was performed on .
1 | PHP fatal errors |
No JavaScript exceptions | |
All test pages loaded successfully | |
No resource errors |
Memory usage: 30.55 KiB
The average PHP memory usage increased by this amount after activating by the plugin.
Page speed impact:
insignificant.
The plugin didn't make the site noticeably slower.
WordPress version | 6.8.2 |
---|---|
PHP version | 8.1.12 |
MySQL version | 10.6.10 |
PHP memory limit | 512M |
Last updated | |
---|---|
Active installs | 100+ |
WordPress.org page | https://wordpress.org/plugins/calculate-prices-based-on-distance-for-woocommerce/ |
Badges |
|
URL | /wp-admin/admin.php?page=address_and_date_time_picker |
---|---|
Requested URL | /wp-admin/plugins.php?action=activate&plugin=calculate-prices-based-on-distance-for-woocommerce%2Fcalculate-prices-based-on-distance-for-woocommerce.php&plugin_status=all&paged=1&s&_wpnonce=22865c5e1a |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.500 s |
Memory usage | N/A |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.263 s |
Memory usage | 3.47 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.376 s | 0.310 s | -0.066 s | 3.51 MiB | 3.54 MiB | + 37.06 KiB |
/wp-admin/edit.php | 0.252 s | 0.227 s | -0.025 s | 3.57 MiB | 3.61 MiB | + 36.13 KiB |
/wp-admin/post-new.php | 0.882 s | 0.710 s | -0.172 s | 6.06 MiB | 6.1 MiB | + 40.55 KiB |
/wp-admin/upload.php | 0.604 s | 0.387 s | -0.217 s | 3.52 MiB | 3.54 MiB | + 18.72 KiB |
/wp-admin/options-writing.php | 0.229 s | 0.187 s | -0.042 s | 3.5 MiB | 3.52 MiB | + 22.71 KiB |
/wp-admin/media-new.php | 0.281 s | 0.231 s | -0.050 s | 3.49 MiB | 3.52 MiB | + 30.91 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.223 s | 0.252 s | +0.029 s | 3.5 MiB | 3.55 MiB | + 41.58 KiB |
/wp-admin/post-new.php?post_type=page | 0.685 s | 0.649 s | -0.036 s | 6.05 MiB | 6.09 MiB | + 36.08 KiB |
/wp-admin/options-discussion.php | 0.380 s | 0.404 s | +0.024 s | 3.5 MiB | 3.52 MiB | + 19.21 KiB |
/wp-admin/edit-comments.php | 0.234 s | 0.212 s | -0.022 s | 3.52 MiB | 3.54 MiB | + 18.71 KiB |
/ | 0.360 s | 0.206 s | -0.154 s | 3.43 MiB | 3.47 MiB | + 34.34 KiB |
Average | 0.410 s | 0.343 s | -0.066 s | 3.97 MiB | 4 MiB | + 30.55 KiB |
Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.
Language | % | Lines of code | Comment lines | Files | |
---|---|---|---|---|---|
JavaScript | 75.1% | 4,972 | 1,314 | 6 | |
PHP | 21.3% | 1,414 | 155 | 12 | |
CSS | 3.1% | 206 | 25 | 3 | |
JSON | 0.5% | 32 | 0 | 1 | |
Total | 6,624 | 1,494 | 22 |
Lines of code | 732 |
---|---|
Total complexity | 210 |
Median class complexity | 88.5 |
Median method complexity | 2.0 |
Most complex class | WCCPD_Calculate_Miles |
Most complex function | WCCPD_Calculate_Miles::wccpd_cm_save_form_fields() |
Classes | 2 |
---|---|
Methods | 29 |
Functions | 9 |
Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.
No new entries found.
[21-Jul-2025 04:15:15 UTC] PHP Fatal error: Uncaught Error: Call to undefined function get_woocommerce_currency_symbol() in /wp-content/plugins/calculate-prices-based-on-distance-for-woocommerce/templates/cm-admin-settings.php:91
Stack trace:
#0 /wp-content/plugins/calculate-prices-based-on-distance-for-woocommerce/inc/helpers.php(10): include()
#1 /wp-content/plugins/calculate-prices-based-on-distance-for-woocommerce/inc/admin.php(22): wccpd_load_templates()
#2 /wp-includes/class-wp-hook.php(324): wccpd_cm_custom_address_settings()
#3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-admin/admin.php(260): do_action()
#6 {main}
thrown in /wp-content/plugins/calculate-prices-based-on-distance-for-woocommerce/templates/cm-admin-settings.php on line 91