EDD_Payment D

Total Complexity 444
Dependencies 6
Dependents 49
Total lines 3,532
Lines of code 1,902
Logical lines of code 1,050
Comment lines 1,028
Methods 76
Properties 39

Methods 76

Method Rating Maintainability Complexity Lines of code
update_meta()
D
11
76 366
save()
D
18
48 248
remove_download()
D
28
36 134
get_meta()
C
32 27 100
remove_fee_by()
B
40 18 60
update_status()
B
40 17 56
add_download()
B
35 14 88
insert_payment()
A
34 13 88
modify_cart_item()
A
39 13 66
setup_user_info()
A
40 13 63
setup_cart_details()
A
40 12 57
setup_fees()
A
46 9 39
maybe_create_customer()
A
51 9 26
setup_payment()
A
43 6 47
_setup_compat_payment()
S
42 5 50
maybe_alter_stats()
S
55 7 19
get_fees()
S
59 7 13
process_pending()
S
56 5 17
process_refund()
S
56 5 17
setup_subtotal()
S
58 5 16
__get()
S
59 5 14
process_failure()
S
61 5 12
setup_completed_date()
S
67 5 7
__construct()
S
61 4 14
__set()
S
61 4 12
setup_total()
S
62 4 11
setup_user_id()
S
64 4 9
setup_tax_rate()
S
68 3 7
setup_transaction_id()
S
65 3 8
setup_downloads()
S
60 2 15
add_note()
S
65 3 10
add_fee()
S
56 1 18
setup_email()
S
69 2 7
__isset()
S
68 2 7
setup_currency()
S
70 2 6
setup_discounts()
S
65 2 9
get_number()
S
77 2 3
decrease_tax()
S
68 2 8
decrease_subtotal()
S
68 2 8
decrease_fees()
S
68 2 8
get_completed_date()
S
67 2 8
delete_meta()
S
71 2 6
add_meta()
S
70 2 6
setup_address()
S
68 2 6
get_transaction_id()
S
78 1 3
get_ip()
S
78 1 3
get_user_id()
S
78 1 3
get_customer_id()
S
78 1 3
get_key()
S
78 1 3
get_email()
S
78 1 3
get_user_info()
S
78 1 3
get_address()
S
78 1 3
get_currency()
S
78 1 3
get_downloads()
S
78 1 3
get_unlimited()
S
78 1 3
in_process()
S
75 1 4
get_gateway()
S
78 1 3
setup_fees_total()
S
68 1 7
get_discounted_amount()
S
78 1 3
is_recoverable()
S
81 1 3
remove_fee()
S
75 1 4
increase_subtotal()
S
74 1 5
increase_fees()
S
74 1 5
recalculate_total()
S
79 1 3
increase_tax()
S
74 1 5
refund()
S
71 1 6
get_recovery_url()
S
81 1 3
get_discounts()
S
78 1 3
delete_sales_logs()
S
79 1 3
setup_payment_number()
S
82 1 3
setup_has_unlimited()
S
76 1 4
array_convert()
S
80 1 3
get_cart_details()
S
78 1 3
get_tax()
S
78 1 3
get_subtotal()
S
78 1 3
_shim_edd_get_order()
S
74 1 4