WCJ_EU_VAT_Number C

Total Complexity 118
Dependencies 1
Dependents 0
Total lines 601
Lines of code 400
Logical lines of code 202
Comment lines 159
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
need_to_exclude_vat()
B
43 24 39
wcj_validate_eu_vat_number()
A
45 14 40
checkout_validate_vat()
A
49 11 31
create_meta_box()
A
43 8 48
admin_validate_vat_and_maybe_remove_taxes()
A
52 8 23
__construct()
S
44 4 43
add_billing_eu_vat_number_field_to_admin_order_display()
S
52 5 23
start_session()
S
59 5 14
enqueue_scripts()
S
53 4 20
add_meta_box()
S
60 4 13
add_default_checkout_billing_eu_vat_number()
S
62 4 11
restrictive_loading_valid()
S
63 4 11
maybe_remove_tax_totals()
S
70 3 6
maybe_exclude_vat()
S
67 3 9
maybe_recalculate_tax_totals()
S
70 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
68 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