WC_Gateway_Authnet B

Total Complexity 100
Dependencies 7
Dependents 2
Total lines 824
Lines of code 587
Logical lines of code 270
Comment lines 102
Methods 18
Properties 11

Methods 18

Method Rating Maintainability Complexity Lines of code
process_payment()
B
29 18 115
get_error_message()
B
45 20 40
authnet_request()
A
38 14 63
process_refund()
A
44 9 43
get_card_type()
S
44 5 53
get_icon()
S
53 7 22
init_form_fields()
S
34 1 109
admin_notices()
S
58 5 15
is_available()
S
66 4 9
__construct()
S
49 2 28
get_avs_message()
S
53 2 22
get_payment_currency()
S
66 3 9
get_cvv_message()
S
59 2 14
format_line_item()
S
51 1 27
payment_fields()
S
71 2 6
get_checkout_pay_page_order_id()
S
74 2 4
log()
S
75 2 5
http_request_timeout()
S
82 1 3