WC_Gateway_Afterpay_Base_Rest D

Total Complexity 231
Dependencies 6
Dependents 0
Total lines 1,383
Lines of code 983
Logical lines of code 632
Comment lines 229
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
process_payment()
D
1
115 447
set_payment_method_info()
C
35 24 87
is_installments_available()
B
46 17 35
is_flex_available()
A
47 15 36
get_order_items()
A
36 12 81
capture_afterpay_payment()
A
41 10 52
get_current_gateway_available_payments_response()
A
44 9 46
process_refund()
A
40 6 64
payment_fields()
A
49 7 36
validate_fields()
S
60 6 12
get_conversation_language()
S
58 4 14
get_available_payments()
S
51 1 27
afterpay_check_status()
S
57 1 16
get_plugin_version()
S
65 2 9
get_additional_data()
S
61 1 12
__construct()
S
65 1 9