KCO_Gateway C

Total Complexity 105
Dependencies 7
Dependents 0
Total lines 711
Lines of code 459
Logical lines of code 220
Comment lines 167
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
enqueue_scripts()
B
36 15 72
upsell_available()
A
48 13 33
process_payment_handler()
A
48 9 32
add_body_class()
A
55 8 19
is_available()
S
58 8 15
admin_enqueue_scripts()
S
50 7 28
show_thank_you_snippet()
S
57 6 17
check_if_eu()
S
43 2 55
process_payment()
S
53 3 25
__construct()
S
43 1 51
add_billing_reference()
S
60 3 14
add_billing_org_nr()
S
60 3 14
add_shipping_reference()
S
60 3 14
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
receipt_page()
S
69 3 6
upsell()
S
66 3 8
address_notice()
S
69 2 7
admin_options()
S
68 1 8
init_form_fields()
S
80 1 3
get_icon()
S
72 1 5
process_refund()
S
78 1 3