YITH_WCAF_Payment_Handler D

Total Complexity 147
Dependencies 3
Dependents 1
Total lines 1,084
Lines of code 598
Logical lines of code 311
Comment lines 327
Methods 31
Properties 2

Methods 31

Method Rating Maintainability Complexity Lines of code
get_payments()
D
29 36 122
process_bulk_actions()
A
44 14 43
register_payment()
A
41 13 56
per_status_count()
A
45 12 41
change_payment_status()
A
47 10 35
get_commission_payments()
A
51 8 26
add()
S
48 6 35
ajax_add_note()
S
49 4 32
update_payment_email_on_affiliate_change()
S
59 4 15
get_commission_status_after_payment()
S
60 4 13
add_screen_columns()
S
56 3 17
set_screen_option()
S
76 4 3
add_screen_option()
S
64 4 9
get_payment_commissions()
S
60 3 13
get_instance()
S
65 3 10
add_note()
S
59 2 14
get_payment()
S
56 1 22
__construct()
S
55 1 19
count_payments()
S
57 1 18
ajax_delete_note()
S
68 2 7
get_readable_status()
S
66 2 8
delete_note()
S
72 1 5
has_invoice()
S
82 1 3
get_invoice_path()
S
82 1 3
get_invoice_url()
S
82 1 3
get_invoice_publishable_url()
S
82 1 3
print_payment_panel()
S
73 1 5
get_payment_notes()
S
71 1 5
last_id()
S
75 1 4
delete()
S
72 1 5
update()
S
74 1 4