Woo_Wallet_Frontend D

Total Complexity 153
Dependencies 4
Dependents 0
Total lines 865
Lines of code 591
Logical lines of code 337
Comment lines 235
Methods 36
Properties 1

Methods 36

Method Rating Maintainability Complexity Lines of code
do_wallet_transfer()
A
37 14 71
woo_wallet_frontend_loaded()
A
47 11 32
is_valid_wallet_recharge_amount()
A
48 11 31
display_cashback()
A
48 9 31
checkout_order_processed()
A
51 9 24
woo_wallet_styles()
A
36 4 86
woo_wallet_shortcode_output()
S
49 7 30
woo_wallet_add_partial_payment_fee()
S
53 7 21
woo_wallet_set_recharge_product_price()
S
61 7 11
restore_woocommerce_cart_items()
S
58 6 15
add_wallet_nav_menu()
S
60 5 12
display_cashback_on_cart_checkout()
S
59 5 12
woocommerce_cart_loaded_from_session()
S
63 5 10
__construct()
S
45 2 38
woocommerce_review_order_after_order_total()
S
65 4 9
woocommerce_available_payment_gateways()
S
64 4 10
wp_nav_menu_objects()
S
65 4 8
woocommerce_endpoint_title()
S
60 3 14
woocommerce_available_variation()
S
60 3 12
make_woo_wallet_recharge_product_purchasable()
S
66 3 9
add_woo_wallet_product_price_to_cart_item_data()
S
65 3 8
update_woocommerce_coupon_message_as_cashback()
S
65 3 8
woo_wallet_menu_items()
S
62 2 11
change_coupon_label()
S
66 2 8
woocommerce_cart_get_total()
S
69 2 7
instance()
S
72 2 6
woocommerce_cart_totals_get_fees_from_cart_taxes()
S
71 2 6
restrict_other_from_add_to_cart()
S
72 2 6
woo_wallet_transactions_endpoint_content()
S
70 2 7
woo_wallet_endpoint_content()
S
70 2 7
remove_woocommerce_order_again_button_for_wallet_rechargeable_order()
S
73 2 5
woo_wallet_is_enable_transfer()
S
70 2 6
shortcode_wrapper()
S
73 1 5
woo_wallet_shortcode_callback()
S
78 1 3
mini_wallet_shortcode_callback()
S
78 1 3
mini_wallet_shortcode_output()
S
66 1 9