PT_Payment D

Total Complexity 199
Dependencies 1
Dependents 4
Total lines 1,308
Lines of code 578
Logical lines of code 359
Comment lines 424
Methods 37
Properties 26

Methods 37

Method Rating Maintainability Complexity Lines of code
get_field_data_raw()
C
28
28 129
populate()
C
39 30 48
update_subscription_and_payments_to_new_format()
B
43 18 42
get_item_field_data()
A
44 14 40
get_custom_field_data()
A
51 14 23
get_field_data_html()
A
47 11 33
get_items()
S
52 7 23
get_item_data()
S
54 6 20
copy_first_payment_items_to_renewal_payment()
S
55 6 20
is_discount()
S
69 6 5
update_subscription_id_for_renewal_payments()
S
55 4 19
get_field_data_customer_emails()
S
62 5 10
get_subscription_items()
S
59 4 14
get_payment_form_emails()
S
61 4 12
get_tax_total()
S
62 4 10
get_taxes_per_percentage()
S
63 4 10
set_status()
S
59 3 14
get_customer_details_field_data()
S
61 3 12
get_total()
S
64 3 10
__construct()
S
67 2 8
discount_tax_calculate()
S
68 2 6
set_payment_method()
S
64 2 10
get_transaction_id()
S
75 2 4
set_order_status()
S
64 2 10
get_order_status()
S
71 2 5
get_status()
S
71 2 5
get_subscription_recurring_payment()
S
82 1 3
get_description()
S
79 1 3
get_payment_method()
S
82 1 3
get_payment_date()
S
71 1 5
update_status_from_admin()
S
76 1 4
get_amount()
S
82 1 3
get_discount_code()
S
79 1 3
get_discount_amount()
S
78 1 3
get_discount_value()
S
79 1 3
get_zero_tax()
S
79 1 3
get_subscription_first_payment()
S
82 1 3