WC_Gateway_Afterpay_Base_Rest D

Total Complexity 251
Dependencies 6
Dependents 0
Total lines 1,466
Lines of code 1,037
Logical lines of code 677
Comment lines 245
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
process_payment()
D
0
120 461
set_payment_method_info()
C
32 30 99
is_installments_available()
B
46 18 36
get_order_items()
A
36 13 83
is_flex_available()
A
46 16 36
capture_afterpay_payment()
A
43 10 46
get_current_gateway_available_payments_response()
A
44 9 46
process_refund()
A
41 6 56
payment_fields()
A
50 7 34
validate_fields()
S
56 8 15
get_conversation_language()
S
58 4 14
get_payinx_element()
S
55 3 19
get_available_payments()
S
51 1 27
init_payinx_element_scripts()
S
55 1 22
get_plugin_version()
S
65 2 9
afterpay_check_status()
S
60 1 13
get_additional_data()
S
61 1 12
__construct()
S
65 1 9