WC_Gateway_Authnet C

Total Complexity 104
Dependencies 7
Dependents 2
Total lines 863
Lines of code 621
Logical lines of code 279
Comment lines 103
Methods 19
Properties 12

Methods 19

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()
S
34 1 116
get_card_type()
S
44 5 53
get_icon()
S
53 7 22
admin_notices()
S
58 5 15
javascript_params()
S
51 3 24
is_available()
S
66 4 9
__construct()
S
48 2 29
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