Risk Free Cash On Delivery (COD) - WooCommerce 1.0.4

Does "Risk Free Cash On Delivery (COD) - WooCommerce" work with WordPress 6.8.1 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.1
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=2875644275
Aspect after-activation
HTTP status 200
Load time 0.268 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Page screenshot:
URL /
Aspect front-page
HTTP status 500
Load time 0.047 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.346 s0.293 s-0.053 s3.51 MiB3.52 MiB+ 18.47 KiB
/wp-admin/edit.php0.206 s0.233 s+0.027 s3.57 MiB3.59 MiB+ 18.47 KiB
/wp-admin/post-new.php0.781 s0.629 s-0.152 s6.06 MiB6.08 MiB+ 22.16 KiB
/wp-admin/upload.php0.629 s0.312 s-0.317 s3.52 MiB3.53 MiB+ 1.06 KiB
/wp-admin/options-writing.php0.202 s0.193 s-0.009 s3.5 MiB3.51 MiB+ 5.05 KiB
/wp-admin/media-new.php0.277 s0.186 s-0.091 s3.49 MiB3.51 MiB+ 13.25 KiB
/wp-admin/edit-tags.php?taxonomy=category0.232 s0.359 s+0.127 s3.5 MiB3.53 MiB+ 23.92 KiB
/wp-admin/post-new.php?post_type=page0.623 s0.661 s+0.038 s6.05 MiB6.07 MiB+ 17.69 KiB
/wp-admin/options-discussion.php0.307 s0.247 s-0.060 s3.5 MiB3.51 MiB+ 1.55 KiB
/wp-admin/edit-comments.php0.196 s0.203 s+0.007 s3.52 MiB3.52 MiB+ 1.05 KiB
Average 0.380 s0.332 s-0.048 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

[06-May-2025 02:40:37 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(791): __()
#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
[06-May-2025 02:40:37 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
[06-May-2025 02:40: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/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
[06-May-2025 02:40: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
[06-May-2025 02:40: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/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
[06-May-2025 02:40: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}

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