WC_Payment_Gateway_Reepay D

Total Complexity 235
Dependencies 12
Dependents 0
Total lines 1,697
Lines of code 981
Logical lines of code 589
Comment lines 458
Methods 44
Properties 1

Methods 44

Method Rating Maintainability Complexity Lines of code
get_logo()
B
38 23 71
calculate_instant_settle()
B
34 20 94
get_order_items()
B
37 17 75
request()
B
39 15 61
reepay_settle()
A
39 11 63
get_reepay_cards()
A
53 9 22
process_charge_result()
A
46 7 42
reepay_refund()
S
45 6 41
can_capture()
S
53 7 22
retrieve_payment_token_order()
S
54 6 22
add_payment_token()
S
47 5 35
can_refund()
S
55 6 20
get_customer_handle()
S
56 6 19
reepay_charge()
S
47 5 34
get_customer_handle_online()
S
57 5 16
capture_payment()
S
58 5 16
assign_payment_token()
S
58 5 14
get_parent_settings()
S
50 4 28
wcs_cart_have_subscription()
S
61 5 12
reepay_cancel()
S
51 4 25
process_instant_settle()
S
56 4 17
get_order_handle()
S
57 4 17
process_refund()
S
59 4 15
can_cancel()
S
60 4 14
refund_payment()
S
61 4 12
cancel_payment()
S
61 4 12
get_order_by_handle()
S
56 3 18
get_userid_by_handle()
S
58 3 16
get_customer_handle_order()
S
60 3 14
get_invoice_data()
S
59 3 14
log()
S
60 3 13
get_language()
S
61 3 13
extract_api_error()
S
68 2 7
wcs_is_subscription_product()
S
75 2 4
get_invoice_by_handle()
S
67 2 8
wcs_is_payment_change()
S
75 2 4
order_contains_subscription()
S
71 2 6
get_calculated_amount()
S
66 2 8
get_payment_token()
S
64 2 9
get_payment_token_order()
S
68 2 7
reepay_save_token()
S
67 2 8
get_currency_multiplier()
S
75 2 4
prepare_amount()
S
73 1 5
make_initial_amount()
S
75 1 4