KCO_Gateway C

Total Complexity 113
Dependencies 8
Dependents 0
Total lines 794
Lines of code 505
Logical lines of code 247
Comment lines 188
Methods 25
Properties 3

Methods 25

Method Rating Maintainability Complexity Lines of code
enqueue_scripts()
B
36 16 70
upsell_available()
A
48 14 31
process_embedded_payment_handler()
A
45 7 42
add_body_class()
A
55 8 19
is_available()
S
57 8 15
admin_enqueue_scripts()
S
50 7 28
save_metadata_to_order()
S
52 7 21
show_thank_you_snippet()
S
55 7 19
process_payment()
S
53 5 24
check_if_eu()
S
43 2 55
__construct()
S
43 1 50
add_billing_reference()
S
60 3 15
add_billing_org_nr()
S
60 3 15
add_shipping_reference()
S
60 3 15
process_redirect_handler()
S
53 2 22
admin_footer_text()
S
67 3 7
prefill_consent()
S
66 3 8
maybe_change_needs_payment()
S
66 3 9
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
admin_options()
S
68 1 8
init_form_fields()
S
80 1 3
process_refund()
S
78 1 3