WC_Gateway_Authnet C

Total Complexity 110
Dependencies 7
Dependents 2
Total lines 897
Lines of code 644
Logical lines of code 290
Comment lines 106
Methods 20
Properties 13

Methods 20

Method Rating Maintainability Complexity Lines of code
process_payment()
B
29 19 117
get_error_message()
B
45 20 40
authnet_request()
A
38 14 63
process_refund()
A
44 9 43
init_form_fields()
A
33 1 123
get_card_type()
S
44 5 53
get_icon()
S
53 7 22
is_valid_pay_for_order_endpoint()
S
58 7 14
admin_notices()
S
58 5 15
__construct()
S
48 2 31
is_available()
S
66 4 9
javascript_params()
S
52 2 24
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