GetPaid_Payment_Form_Submission C

Total Complexity 106
Dependencies 9
Dependents 2
Total lines 950
Lines of code 332
Logical lines of code 179
Comment lines 425
Methods 51
Properties 14

Methods 51

Method Rating Maintainability Complexity Lines of code
process_invoice()
A
45 13 44
process_taxes()
A
51 10 25
load_data()
S
51 4 29
add_item()
S
62 4 11
remove_fee()
S
62 3 11
remove_item()
S
63 3 10
process_payment_form()
S
63 3 10
should_collect_payment_details()
S
65 3 9
use_taxes()
S
68 3 7
has_subscription_group()
S
77 3 3
process_discount()
S
64 2 9
__construct()
S
68 2 7
remove_discount()
S
68 2 7
get_discount_code()
S
78 2 3
is_initial_fetch()
S
78 2 3
process_fees()
S
68 2 7
add_fee()
S
63 2 10
has_billing_email()
S
75 2 4
remove_tax()
S
68 2 7
add_tax()
S
64 2 9
has_multiple_subscription_groups()
S
78 2 3
get_currency()
S
79 2 3
get_recurring_subtotal()
S
70 2 6
get_subtotal()
S
70 2 6
process_items()
S
68 2 7
is_required_field_set()
S
77 2 3
has_fees()
S
79 1 3
get_billing_email()
S
78 1 3
get_recurring_total()
S
73 1 4
get_total()
S
73 1 4
has_shipping()
S
79 1 3
get_data()
S
82 1 3
get_field()
S
79 1 3
get_recurring_shipping()
S
80 1 3
get_shipping()
S
80 1 3
has_discount_code()
S
79 1 3
get_fees()
S
82 1 3
get_recurring_fee()
S
80 1 3
get_fee()
S
80 1 3
get_discounts()
S
82 1 3
get_recurring_discount()
S
80 1 3
get_discount()
S
80 1 3
add_discount()
S
71 1 5
get_taxes()
S
82 1 3
get_recurring_tax()
S
80 1 3
get_tax()
S
80 1 3
get_items()
S
82 1 3
has_invoice()
S
80 1 3
get_invoice()
S
82 1 3
get_payment_form()
S
82 1 3
format_amount()
S
79 1 3