WC_Gateway_Afterpay_Base_Rest D

Total Complexity 247
Dependencies 6
Dependents 0
Total lines 1,456
Lines of code 1,030
Logical lines of code 672
Comment lines 244
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
process_payment()
D
0
119 457
set_payment_method_info()
C
32 28 99
is_installments_available()
B
46 18 36
is_flex_available()
A
46 16 36
get_order_items()
A
36 12 81
capture_afterpay_payment()
A
43 10 46
get_current_gateway_available_payments_response()
A
44 9 46
process_refund()
A
41 6 55
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