WCJ_EU_VAT_Number D

Total Complexity 174
Dependencies 2
Dependents 0
Total lines 758
Lines of code 528
Logical lines of code 263
Comment lines 185
Methods 24
Properties 1

Methods 24

Method Rating Maintainability Complexity Lines of code
wcj_validate_eu_vat_number()
D
35 39 69
need_to_exclude_vat()
C
37 32 63
create_meta_box()
A
38 13 71
admin_validate_vat_and_maybe_remove_taxes()
A
48 13 28
checkout_validate_vat()
A
47 11 35
add_billing_eu_vat_number_field_to_admin_order_display()
A
48 9 31
add_meta_box()
A
51 8 27
start_session()
A
55 8 17
__construct()
S
43 4 45
enqueue_scripts()
S
51 4 25
add_default_checkout_billing_eu_vat_number()
S
60 4 13
restrictive_loading_valid()
S
62 4 12
add_eu_vat_number_to_order_display()
S
57 3 15
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_billing_address()
S
64 2 9
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_billing_eu_vat_number_to_ajax_get_customer_details()
S
74 1 4
create_eu_countries_vat_rates_tool()
S
80 1 3