PT_Payment D

Total Complexity 168
Dependencies 1
Dependents 4
Total lines 1,225
Lines of code 530
Logical lines of code 333
Comment lines 403
Methods 31
Properties 25

Methods 31

Method Rating Maintainability Complexity Lines of code
get_field_data_raw()
C
28
28 128
populate()
C
40 29 47
update_subscription_and_payments_to_new_format()
A
45 15 38
get_custom_field_data()
A
51 14 23
get_item_field_data()
A
48 9 30
get_field_data_html()
A
49 8 31
copy_first_payment_items_to_renewal_payment()
S
55 6 20
get_item_data()
S
54 6 20
get_items()
S
53 5 23
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_customer_details_field_data()
S
61 3 12
get_taxes_per_percentage()
S
64 3 10
set_status()
S
60 2 13
__construct()
S
67 2 8
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_total()
S
69 2 7
get_tax_total()
S
68 2 7
get_description()
S
79 1 3
get_subscription_first_payment()
S
82 1 3
get_subscription_recurring_payment()
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_payment_method()
S
82 1 3