WC_Ovri D

Total Complexity 229
Dependencies 9
Dependents 1
Total lines 1,707
Lines of code 1,292
Logical lines of code 643
Comment lines 205
Methods 35
Properties 8

Methods 35

Method Rating Maintainability Complexity Lines of code
external_process_payment()
D
27
31 137
getPaymentParams()
B
32 20 101
ovri_notification()
B
34 21 86
ovri_compliance()
B
32 20 101
ovri_return()
A
40 14 58
custom_checkout_payment()
A
47 13 34
ovri_notification_subscription()
A
40 11 56
ovri_cancel_subscription()
A
46 12 38
process_direct_payment()
A
36 9 80
payment_fields()
A
40 8 69
__construct()
A
40 7 55
isCreditCardNumber()
A
50 8 27
isCorrectExpireDate()
A
50 8 26
validate_fields()
A
52 8 25
init_form_fields()
A
33 1 128
admin_options()
S
46 3 51
convert_to_eur_live()
S
56 4 18
log()
S
63 4 11
custom_checkout_place_order()
S
51 2 29
admin_custom_fields_styles()
S
62 1 42
receipt_page()
S
53 2 26
enqueue_checkout_styles()
S
72 3 5
do_ssl_check()
S
66 3 8
is_using_checkout_block()
S
70 2 6
check_woocommerce_subscriptions_plugin()
S
72 2 5
process_payment()
S
65 2 9
signRequest()
S
63 2 10
postRequest()
S
60 1 13
getToken()
S
63 1 11
clientOvri()
S
67 1 8
getAuthorization()
S
73 1 5
getPaymentByOrderID()
S
73 1 4
getTransactions()
S
73 1 4
is_valid_css()
S
79 1 3
init_custom_admin_fields()
S
79 1 3