WCJ_EU_VAT_Number C

Total Complexity 118
Dependencies 1
Dependents 0
Total lines 649
Lines of code 429
Logical lines of code 206
Comment lines 177
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
need_to_exclude_vat()
B
42 24 45
wcj_validate_eu_vat_number()
A
44 14 43
checkout_validate_vat()
A
48 11 34
create_meta_box()
A
41 8 56
admin_validate_vat_and_maybe_remove_taxes()
A
52 8 23
__construct()
S
43 4 45
add_billing_eu_vat_number_field_to_admin_order_display()
S
52 5 23
start_session()
S
59 5 14
enqueue_scripts()
S
51 4 24
add_meta_box()
S
60 4 13
add_default_checkout_billing_eu_vat_number()
S
60 4 13
restrictive_loading_valid()
S
62 4 12
maybe_remove_tax_totals()
S
70 3 6
maybe_exclude_vat()
S
66 3 9
maybe_recalculate_tax_totals()
S
69 3 6
add_eu_vat_number_checkout_field_to_frontend()
S
59 2 13
add_eu_vat_number_to_order_display()
S
61 2 11
add_eu_vat_number_to_my_account_billing_address()
S
67 2 7
add_eu_vat_number_to_address_formats()
S
66 2 8
replace_eu_vat_number_in_address_formats()
S
71 2 5
add_eu_vat_number_customer_meta_field()
S
68 1 7
add_eu_vat_number_to_order_billing_address()
S
71 1 5
add_billing_eu_vat_number_to_ajax_get_customer_details()
S
74 1 4
create_eu_countries_vat_rates_tool()
S
80 1 3