PT_Payment D

Total Complexity 191
Dependencies 1
Dependents 4
Total lines 1,292
Lines of code 569
Logical lines of code 355
Comment lines 420
Methods 36
Properties 26

Methods 36

Method Rating Maintainability Complexity Lines of code
get_field_data_raw()
C
28
28 128
populate()
C
39 30 48
update_subscription_and_payments_to_new_format()
A
45 15 38
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_item_data()
S
54 6 20
copy_first_payment_items_to_renewal_payment()
S
55 6 20
get_items()
S
53 5 23
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
63 4 10
set_status()
S
59 3 14
get_customer_details_field_data()
S
61 3 12
get_total()
S
64 3 10
get_taxes_per_percentage()
S
64 3 10
__construct()
S
67 2 8
set_payment_method()
S
64 2 10
set_order_status()
S
64 2 10
get_order_status()
S
71 2 5
get_status()
S
71 2 5
get_transaction_id()
S
75 2 4
get_discount_code()
S
79 1 3
get_discount_amount()
S
78 1 3
get_discount_value()
S
79 1 3
get_subscription_first_payment()
S
82 1 3
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
discount_tax_calculate()
S
71 1 5