WC_PensoPay_VirtualTerminal_Payment D

Total Complexity 126
Dependencies 4
Dependents 1
Total lines 688
Lines of code 492
Logical lines of code 273
Comment lines 15
Methods 38
Properties 3

Methods 38

Method Rating Maintainability Complexity Lines of code
save_payment()
B
40 18 58
import_from_remote()
A
46 13 36
get_status_color_code()
A
55 10 22
get_display_status()
S
57 8 14
bulk_action_handler()
S
50 7 29
get_last_operation()
S
56 7 18
get_state_color_code()
S
58 6 18
get_first_operation()
S
58 6 16
manage_column_data()
S
55 5 20
__construct()
S
53 3 20
vterminal_update_payments()
S
54 2 22
get_transaction_object()
S
57 2 17
set_post_meta()
S
70 3 6
get_post_data()
S
65 3 9
can_refund()
S
76 3 3
remove_post_meta()
S
70 3 6
save_from_request()
S
68 3 7
register_post_types()
S
50 1 30
create_payment_link()
S
53 1 22
_doEmail()
S
55 1 21
get_metadata()
S
71 2 6
cancel()
S
67 2 8
get_instance()
S
71 2 6
manage_columns()
S
60 1 13
get_last_code()
S
80 1 3
get_last_type()
S
80 1 3
get_last_message()
S
80 1 3
can_cancel()
S
79 1 3
can_capture()
S
79 1 3
refund()
S
64 1 9
capture()
S
66 1 8
patch_payment()
S
67 1 7
create_payment()
S
72 1 5
bulk_action_admin_notices()
S
80 1 3
register_bulk_actions()
S
67 1 7
update_from_remote()
S
73 1 5
set_post_id()
S
81 1 3
output()
S
80 1 3