KCO_Gateway C

Total Complexity 111
Dependencies 10
Dependents 0
Total lines 737
Lines of code 483
Logical lines of code 231
Comment lines 169
Methods 22
Properties 3

Methods 22

Method Rating Maintainability Complexity Lines of code
enqueue_scripts()
B
34 18 78
validate_checkout()
B
36 16 76
upsell_available()
A
48 14 31
is_available()
A
51 11 24
add_body_class()
A
55 8 19
admin_enqueue_scripts()
S
50 7 28
show_thank_you_snippet()
S
55 7 19
check_if_eu()
S
43 2 55
__construct()
S
43 1 50
add_billing_org_nr()
S
60 3 15
add_billing_reference()
S
60 3 15
add_shipping_reference()
S
60 3 15
admin_footer_text()
S
67 3 7
prefill_consent()
S
66 3 8
maybe_remove_kco_epm()
S
70 3 6
address_notice()
S
69 2 7
upsell()
S
66 2 8
get_icon()
S
72 1 5
process_payment()
S
80 1 3
process_refund()
S
78 1 3
init_form_fields()
S
80 1 3
admin_options()
S
68 1 8