AWCDP_Front_End D

Total Complexity 623
Dependencies 11
Dependents 1
Total lines 2,527
Lines of code 1,862
Logical lines of code 1,225
Comment lines 130
Methods 80
Properties 6

Methods 80

Method Rating Maintainability Complexity Lines of code
awcdp_deposits_form()
D
28
43 111
awcdp_update_deposit_meta()
C
36 29 72
awcdp_create_order()
C
28
25 125
awcdp_build_payment_schedule()
C
35 27 79
awcdp_calculated_total()
C
30 23 124
awcdp_order_status_changed()
B
43 22 40
awcdp_get_order_item_totals()
B
41 21 49
awcdp_add_cart_item_data()
B
45 17 36
awcdp_order_status_completed()
A
44 15 43
awcdp_trash_partial_payments()
A
48 14 31
awcdp_needs_payment()
A
48 14 29
awcdp_delete_partial_payments()
A
49 14 29
awcdp_available_payment_gateways()
A
48 13 32
awcdp_order_formatted_line_subtotal()
A
48 13 30
awcdp_untrash_partial_payments()
A
50 13 27
awcdp_get_item_data()
A
46 12 34
awcdp_partial_payment_number()
A
51 12 24
awcdp_adjust_second_payment_status()
A
53 12 21
user_restriction()
A
54 12 19
awcdp_payment_complete_order_status()
A
49 11 28
awcdp_review_order_after_order_total()
A
51 10 24
awcdp_checkout_update_order_meta()
A
44 8 46
awcdp_display_item_subtotal()
A
51 9 23
awcdp_checkout_payment_url()
A
53 9 21
awcdp_apifw_invoice_deposit()
A
54 9 17
awcdp_show_myaccount_partial_payments_summary()
A
50 8 26
pw_gift_card_total_discount()
A
53 8 23
awcdp_payment_complete_reduce_order_stock()
A
54 8 19
awcdp_get_deposit_container()
A
56 8 17
awcdp_redirect_payment_links()
A
56 8 17
awcdp_early_update_partial_payments()
S
53 7 23
awcdp_cart_totals_after_order_total()
S
53 7 21
awcdp_register_hooks()
S
49 6 33
grouped_data_override()
S
53 6 23
awcdp_payment_complete()
S
56 6 18
__construct()
S
36 2 77
awcdp_deposits_enabled()
S
56 6 17
awcdp_prevent_user_trash_partial_payments()
S
61 6 12
awcdp_set_partial_payments_as_cancelled()
S
62 6 11
awcdp_modify_cart_data()
S
61 6 11
awcdp_get_deposit_type()
S
55 5 20
awcdp_get_deposit_amount()
S
56 5 18
awcdp_order_has_status()
S
61 5 14
awcdp_set_parent_order_on_hold()
S
61 5 13
awcdp_disable_payment_emails()
S
61 5 13
awcdp_set_parent_order_failed()
S
62 5 11
awcdp_email_actions()
S
54 4 23
awcdp_deposit_details()
S
54 4 20
awcdp_get_order_partial_payments()
S
58 4 15
awcdp_show_email_partial_payments_summary()
S
59 4 14
check_woocommerce_active()
S
62 4 11
awcdp_cart_needs_payment()
S
66 4 8
awcdp_checkout_create_order_line_item()
S
66 4 8
awcdp_disable_reorder_for_partial_payments()
S
63 4 10
add_apifw_invoice_meta()
S
50 1 32
awcdp_cart_loaded_from_session()
S
68 3 7
check_aco_dynamic_pricing_active()
S
72 3 5
awcdp_save_original_price()
S
67 3 7
awcdp_complete_partial_payments()
S
65 3 10
awcdp_order_statuses()
S
64 3 10
awcdp_valid_order_statuses_for_payment_complete()
S
68 3 7
awcdp_add_order_item_meta()
S
72 3 5
awcdp_awcfe_check_parent()
S
65 3 10
awcdp_grouped_products_handler()
S
64 3 9
awcdp_update_WebToffee_stripe_cart_total()
S
69 3 6
awcdp_update_wc_stripe_output_display_items()
S
65 3 8
awcdp_order_class()
S
72 2 6
instance()
S
71 2 6
awcdp_get_cart_item_from_session()
S
71 2 6
awcdp_show_parent_order_summary()
S
64 2 10
awcdp_adjust_cod_status_completed()
S
71 2 6
awcdp_cancel_partial_payments()
S
72 2 6
awcdp_deposits_forced()
S
67 2 8
awcdp_dpo_pay_order_create()
S
71 2 6
frontend_enqueue_scripts()
S
61 1 11
frontend_enqueue_styles()
S
74 1 4
awcdp_register_shortcodes()
S
79 1 3
awcdp_shortcode_deposit_function()
S
71 1 6
awcdp_hidden_order_item_meta()
S
77 1 4
awcdp_email_classes()
S
76 1 4