Risk Free Cash On Delivery (COD) - WooCommerce 1.0.4

Does "Risk Free Cash On Delivery (COD) - WooCommerce" work with WordPress 6.8 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
38PHP fatal errors
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 12.27 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.

Environment
WordPress version6.8
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 80+
WordPress.org page https://wordpress.org/plugins/risk-free-cash-on-delivery-cod-woocommerce/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=risk-free-cash-on-delivery-cod-woocommerce%2Frisk_free_advanced_cod.php&plugin_status=all&paged=1&s&_wpnonce=a977e57bab
Aspect after-activation
HTTP status 200
Load time 0.294 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Page screenshot:
URL /
Aspect front-page
HTTP status 500
Load time 0.050 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.403 s0.242 s-0.161 s3.51 MiB3.52 MiB+ 18.47 KiB
/wp-admin/edit.php0.207 s0.231 s+0.024 s3.57 MiB3.59 MiB+ 18.47 KiB
/wp-admin/post-new.php0.766 s0.640 s-0.126 s6.06 MiB6.08 MiB+ 22.16 KiB
/wp-admin/upload.php0.572 s0.354 s-0.218 s3.52 MiB3.53 MiB+ 1.06 KiB
/wp-admin/options-writing.php0.223 s0.208 s-0.015 s3.5 MiB3.51 MiB+ 5.05 KiB
/wp-admin/media-new.php0.311 s0.422 s+0.111 s3.49 MiB3.5 MiB+ 13.25 KiB
/wp-admin/edit-tags.php?taxonomy=category0.216 s0.184 s-0.032 s3.5 MiB3.53 MiB+ 23.92 KiB
/wp-admin/post-new.php?post_type=page0.611 s0.639 s+0.028 s6.05 MiB6.07 MiB+ 17.69 KiB
/wp-admin/options-discussion.php0.278 s0.227 s-0.051 s3.5 MiB3.5 MiB+ 1.55 KiB
/wp-admin/edit-comments.php0.410 s0.203 s-0.207 s3.52 MiB3.52 MiB+ 1.05 KiB
Average 0.400 s0.335 s-0.065 s4.02 MiB4.04 MiB+ 12.27 KiB

Code Statistics

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.

PHP
Language % Lines of code Comment lines Files
PHP100.0%656335
Total 656 33 5

PHP Code Analysis | More results »

Lines of code 302
Total complexity 51
Median class complexity 14.0
Median method complexity 1.0
Most complex class SB_Risk_Free_COD
Most complex function sb_woo_add_cart_fee()
Classes 1
Methods 7
Functions 8

Additions

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.

PHP Error Log 631 lines

[21-Apr-2025 05:01:40 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_checkout() in /wp-content/plugins/risk-free-cash-on-delivery-cod-woocommerce/includes/sb_main_filter_class.php:42
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): sb_cod_wc_renaming_checkout_total()
#1 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /wp-includes/l10n.php(207): apply_filters()
#3 /wp-includes/l10n.php(307): translate()
#4 /wp-includes/script-loader.php(769): __()
#5 /wp-includes/class-wp-hook.php(324): wp_default_scripts()
#6 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#7 /wp-includes/plugin.php(565): WP_Hook->do_action()
#8 /wp-includes/class-wp-scripts.php(166): do_action_ref_array()
#9 /wp-includes/class-wp-scripts.php(149): WP_Scripts->init()
#10 /wp-includes/functions.wp-scripts.php(24): WP_Scripts->__construct()
#11 /wp-includes/functions.wp-scripts.php(362): wp_scripts()
#12 /wp-includes/class-wp-admin-bar.php(72): wp_enqueue_script()
#13 /wp-includes/admin-bar.php(49): WP_Admin_Bar->initialize()
#14 /wp-includes/class-wp-hook.php(324): _wp_admin_bar_init()
#15 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#16 /wp-includes/plugin.php(517): WP_Hook->do_action()
#17 /wp-includes/template-loader.php(13): do_action()
#18 /wp-blog-header.php(19): require_once('...')
#19 /index.php(17): require('...')
#20 {main}
  thrown in /wp-content/plugins/risk-free-cash-on-delivery-cod-woocommerce/includes/sb_main_filter_class.php on line 42
[21-Apr-2025 05:01:40 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_checkout() in /wp-content/plugins/risk-free-cash-on-delivery-cod-woocommerce/includes/sb_main_filter_class.php:42
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): sb_cod_wc_renaming_checkout_total()
#1 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /wp-includes/l10n.php(207): apply_filters()
#3 /wp-includes/l10n.php(307): translate()
#4 /wp-includes/class-wp-recovery-mode.php(178): __()
#5 /wp-includes/class-wp-fatal-error-handler.php(55): WP_Recovery_Mode->handle_error()
#6 [internal function]: WP_Fatal_Error_Handler->handle()
#7 {main}
  thrown in /wp-content/plugins/risk-free-cash-on-delivery-cod-woocommerce/includes/sb_main_filter_class.php on line 42
[21-Apr-2025 05:01:43 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_checkout() in /wp-content/plugins/risk-free-cash-on-delivery-cod-woocommerce/includes/sb_main_filter_class.php:42
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): sb_cod_wc_renaming_checkout_total()
#1 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /wp-includes/l10n.php(207): apply_filters()
#3 /wp-includes/l10n.php(307): translate()
#4 /wp-includes/option.php(2733): __()
#5 /wp-includes/class-wp-hook.php(324): register_initial_settings()
#6 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#7 /wp-includes/plugin.php(517): WP_Hook->do_action()
#8 /wp-includes/rest-api.php(628): do_action()
#9 /wp-includes/rest-api.php(452): rest_get_server()
#10 /wp-includes/class-wp-hook.php(324): rest_api_loaded()
#11 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#12 /wp-includes/plugin.php(565): WP_Hook->do_action()
#13 /wp-includes/class-wp.php(418): do_action_ref_array()
#14 /wp-includes/class-wp.php(818): WP->parse_request()
#15 /wp-includes/functions.php(1342): WP->main()
#16 /wp-blog-header.php(16): wp()
#17 /index.php(17): require('...')
#18 {main}
  thrown in /wp-content/plugins/risk-free-cash-on-delivery-cod-woocommerce/includes/sb_main_filter_class.php on line 42
[21-Apr-2025 05:01:43 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_checkout() in /wp-content/plugins/risk-free-cash-on-delivery-cod-woocommerce/includes/sb_main_filter_class.php:42
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): sb_cod_wc_renaming_checkout_total()
#1 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /wp-includes/l10n.php(207): apply_filters()
#3 /wp-includes/l10n.php(307): translate()
#4 /wp-includes/class-wp-recovery-mode.php(178): __()
#5 /wp-includes/class-wp-fatal-error-handler.php(55): WP_Recovery_Mode->handle_error()
#6 [internal function]: WP_Fatal_Error_Handler->handle()
#7 {main}
  thrown in /wp-content/plugins/risk-free-cash-on-delivery-cod-woocommerce/includes/sb_main_filter_class.php on line 42
[21-Apr-2025 05:01:43 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_checkout() in /wp-content/plugins/risk-free-cash-on-delivery-cod-woocommerce/includes/sb_main_filter_class.php:42
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): sb_cod_wc_renaming_checkout_total()
#1 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /wp-includes/l10n.php(207): apply_filters()
#3 /wp-includes/l10n.php(307): translate()
#4 /wp-includes/option.php(2733): __()
#5 /wp-includes/class-wp-hook.php(324): register_initial_settings()
#6 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#7 /wp-includes/plugin.php(517): WP_Hook->do_action()
#8 /wp-includes/rest-api.php(628): do_action()
#9 /wp-includes/rest-api.php(452): rest_get_server()
#10 /wp-includes/class-wp-hook.php(324): rest_api_loaded()
#11 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#12 /wp-includes/plugin.php(565): WP_Hook->do_action()
#13 /wp-includes/class-wp.php(418): do_action_ref_array()
#14 /wp-includes/class-wp.php(818): WP->parse_request()
#15 /wp-includes/functions.php(1342): WP->main()
#16 /wp-blog-header.php(16): wp()
#17 /index.php(17): require('...')
#18 {main}
  thrown in /wp-content/plugins/risk-free-cash-on-delivery-cod-woocommerce/includes/sb_main_filter_class.php on line 42
[21-Apr-2025 05:01:43 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_checkout() in /wp-content/plugins/risk-free-cash-on-delivery-cod-woocommerce/includes/sb_main_filter_class.php:42
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): sb_cod_wc_renaming_checkout_total()
#1 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /wp-includes/l10n.php(207): apply_filters()
#3 /wp-includes/l10n.php(307): translate()
#4 /wp-includes/class-wp-recovery-mode.php(178): __()
#5 /wp-includes/class-wp-fatal-error-handler.php(55): WP_Recovery_Mode->handle_error()
#6 [internal function]: WP_Fatal_Error_Handler->handle()
#7 {main}

(+531 more lines)
See also: All tests for this plugin