EDD_Payment D

Total Complexity 363
Dependencies 3
Dependents 86
Total lines 2,772
Lines of code 1,336
Logical lines of code 843
Comment lines 846
Methods 80
Properties 37

Methods 80

Method Rating Maintainability Complexity Lines of code
save()
D
10
85 326
remove_download()
D
30 33 112
insert_payment()
B
37 16 71
add_download()
B
35 14 87
setup_user_info()
A
42 14 54
get_meta()
A
48 11 33
update_status()
A
47 11 33
remove_fee_by()
A
47 10 35
modify_cart_item()
A
44 9 43
maybe_create_customer()
A
51 9 26
update_meta()
A
51 8 26
setup_payment()
A
42 6 50
get_fees()
S
59 7 13
process_pending()
S
55 5 18
process_refund()
S
55 5 18
setup_subtotal()
S
58 5 16
maybe_alter_stats()
S
59 5 15
process_failure()
S
61 5 12
__construct()
S
58 4 16
setup_completed_date()
S
65 5 8
__set()
S
61 4 12
setup_total()
S
62 4 11
setup_fees_total()
S
63 4 10
setup_user_id()
S
64 4 9
is_recoverable()
S
65 3 8
setup_payment_number()
S
65 3 10
setup_transaction_id()
S
65 3 8
setup_tax()
S
67 3 7
add_fee()
S
56 1 18
setup_address()
S
68 2 6
__get()
S
67 2 8
setup_downloads()
S
74 2 4
setup_cart_details()
S
74 2 4
decrease_subtotal()
S
68 2 8
decrease_tax()
S
68 2 8
setup_email()
S
68 2 7
setup_fees()
S
75 2 4
setup_discounts()
S
74 2 4
__isset()
S
68 2 7
setup_currency()
S
73 2 4
add_note()
S
71 2 6
decrease_fees()
S
68 2 8
add_meta()
S
70 2 6
delete_meta()
S
71 2 6
get_recovery_url()
S
67 2 7
delete_sales_logs()
S
63 1 13
get_currency()
S
78 1 3
get_gateway()
S
78 1 3
get_transaction_id()
S
78 1 3
get_ip()
S
78 1 3
get_customer_id()
S
78 1 3
get_key()
S
78 1 3
in_process()
S
75 1 4
get_unlimited()
S
78 1 3
get_user_id()
S
78 1 3
get_email()
S
78 1 3
get_user_info()
S
78 1 3
get_address()
S
78 1 3
get_downloads()
S
78 1 3
get_discounts()
S
78 1 3
get_number()
S
78 1 3
get_discounted_amount()
S
69 1 6
increase_fees()
S
74 1 5
get_subtotal()
S
78 1 3
setup_ip()
S
75 1 4
increase_subtotal()
S
74 1 5
remove_fee()
S
75 1 4
refund()
S
71 1 6
setup_mode()
S
80 1 3
setup_tax_rate()
S
79 1 3
setup_gateway()
S
75 1 4
setup_customer_id()
S
75 1 4
get_tax()
S
78 1 3
increase_tax()
S
74 1 5
setup_payment_key()
S
75 1 4
setup_has_unlimited()
S
75 1 4
array_convert()
S
80 1 3
get_cart_details()
S
78 1 3
get_completed_date()
S
78 1 3
recalculate_total()
S
79 1 3