Give_Payment D

Total Complexity 194
Dependencies 5
Dependents 29
Total lines 2,022
Lines of code 739
Logical lines of code 456
Comment lines 944
Methods 56
Properties 35

Methods 56

Method Rating Maintainability Complexity Lines of code
save()
D
24
45 159
insert_payment()
C
32 24 100
setup_user_info()
A
43 13 50
add_donation()
A
41 12 56
setup_payment()
A
40 9 58
update_status()
S
51 7 25
process_status()
S
53 6 22
get_meta()
S
56 5 17
maybe_alter_stats()
S
59 5 15
remove_donation()
S
54 4 21
__set()
S
62 4 12
setup_completed_date()
S
65 4 8
setup_email()
S
68 3 7
setup_currency()
S
63 2 11
setup_user_id()
S
71 2 5
__get()
S
66 2 8
setup_transaction_id()
S
66 2 8
__construct()
S
72 2 6
update_meta()
S
68 2 7
decrease_subtotal()
S
68 2 8
__isset()
S
68 2 7
add_note()
S
71 2 6
is_completed()
S
79 2 3
get_user_id()
S
78 1 3
get_donor_id()
S
78 1 3
get_key()
S
78 1 3
get_ip()
S
78 1 3
get_email()
S
78 1 3
array_convert()
S
80 1 3
get_transaction_id()
S
78 1 3
get_user_info()
S
78 1 3
get_number()
S
78 1 3
get_address()
S
78 1 3
get_gateway()
S
78 1 3
get_currency()
S
78 1 3
get_subtotal()
S
78 1 3
get_completed_date()
S
78 1 3
get_form_id()
S
78 1 3
setup_ip()
S
75 1 4
setup_payment_number()
S
81 1 3
setup_total()
S
74 1 4
update_payment_setup()
S
76 1 4
increase_subtotal()
S
74 1 5
recalculate_total()
S
79 1 3
refund()
S
71 1 6
setup_mode()
S
80 1 3
setup_import()
S
80 1 3
setup_subtotal()
S
77 1 4
setup_payment_key()
S
75 1 4
setup_gateway()
S
75 1 4
setup_donor_id()
S
75 1 4
setup_address()
S
64 1 9
setup_form_title()
S
75 1 4
setup_form_id()
S
75 1 4
setup_price_id()
S
75 1 4
get_serial_code()
S
79 1 3