WC_Gateway_Afterpay_Base D

Total Complexity 257
Dependencies 7
Dependents 0
Total lines 1,855
Lines of code 1,351
Logical lines of code 775
Comment lines 313
Methods 36
Properties 0

Methods 36

Method Rating Maintainability Complexity Lines of code
process_payment()
D
7
82 394
is_available()
B
46 21 36
admin_options()
B
30 2 278
get_introduction_text()
A
40 14 63
validate_fields()
A
48 14 28
get_selling_points()
A
41 10 57
payment_fields()
A
41 9 69
get_bankaccount_placeholder()
A
49 10 34
validate_afterpay_bankaccount()
A
47 8 36
split_afterpay_address()
A
52 8 25
process_refund()
A
43 6 48
get_afterpay_client_ip()
S
61 7 11
validate_dob()
S
56 6 17
capture_afterpay_payment()
S
49 4 30
can_show_introduction_text()
S
69 6 6
order_status_change_callback()
S
63 5 11
get_afterpay_tax_class()
S
59 4 15
get_payment_method_type()
S
59 4 15
get_b2b_statement_link()
S
60 4 12
get_conditions_text()
S
56 3 18
get_terms_block()
S
54 2 30
get_all_shipping_methods()
S
62 3 11
get_connection_mode()
S
63 3 11
get_error_message()
S
65 3 9
get_api_key()
S
64 3 10
get_validation_message_language()
S
62 2 11
get_all_possible_order_statuses()
S
65 2 9
get_code_of_conduct()
S
64 2 10
send_afterpay_debug_mail()
S
73 2 5
is_tracking_required()
S
70 2 7
get_apikey_validation_button()
S
63 1 11
receipt_page()
S
78 1 3
calculate_afterpay_vat_amount()
S
69 1 6
get_profile_tracking_session_id()
S
70 1 5
get_birthdate_placeholder()
S
75 1 4
__construct()
S
71 1 6