WCJ_EU_VAT_Number D

Total Complexity 126
Dependencies 1
Dependents 0
Total lines 660
Lines of code 440
Logical lines of code 209
Comment lines 178
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()
B
43 18 44
checkout_validate_vat()
A
48 11 34
create_meta_box()
A
40 8 63
admin_validate_vat_and_maybe_remove_taxes()
A
51 10 24
start_session()
S
57 7 15
__construct()
S
43 4 45
add_billing_eu_vat_number_field_to_admin_order_display()
S
52 5 23
enqueue_scripts()
S
51 4 25
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