WC_EU_VAT_Compliance D

Total Complexity 314
Dependencies 5
Dependents 0
Total lines 1,631
Lines of code 867
Logical lines of code 588
Comment lines 462
Methods 55
Properties 5

Methods 55

Method Rating Maintainability Complexity Lines of code
get_vat_paid()
C
34 29 83
get_region_code_from_order()
B
45 18 37
ajax_update_checkout_totals()
B
50 18 24
get_store_vat_number()
A
47 16 31
validate_vat_number()
A
44 15 41
get_rate_providers()
A
50 14 23
get_visitor_country_info()
A
49 12 28
get_vat_matches()
A
50 12 26
plugins_loaded()
A
38 8 72
wpo_wcpdf_footer()
A
50 10 27
woocommerce_check_cart_items()
A
53 8 19
get_vat_regions()
S
58 8 15
product_list_has_relevant_products()
S
55 6 18
version_1_19_7_rename_valid_eu_vat_meta_field()
S
57 6 17
get_vat_region_object()
S
57 6 16
get_vat_number_lookup_service()
S
57 6 16
get_vat_recording_currencies()
S
57 6 15
add_tax_rates_details()
S
50 5 29
get_amount_in_conversion_currencies()
S
58 6 13
run_any_upgrades()
S
60 6 12
enqueue_admin_js()
S
50 5 27
woocommerce_custom_order_tables_enabled()
S
66 6 7
product_taxable_class_indicates_buyer_country_variable_vat()
S
64 6 8
get_version()
S
59 5 13
get_taxable_address()
S
61 5 12
order_status_to_text()
S
56 4 15
get_base_countries()
S
60 4 13
get_conversion_provider()
S
61 4 11
construct_country_info()
S
57 3 17
plugin_action_links()
S
61 4 10
get_vat_region_countries()
S
64 4 9
get_customer_taxable_region_code()
S
70 4 5
convert_taxes_to_array()
S
59 3 14
mb_ucfirst()
S
73 3 4
forbid_vat_checkout_to_which_regions()
S
66 3 8
get_region_vat_tax_classes()
S
71 3 5
get_vat_region_when_looking_up_number_for()
S
64 3 9
get_visitor_ip_address()
S
66 3 7
get_currency_code_options()
S
64 3 9
load_updater()
S
69 3 7
__construct()
S
53 1 22
woocommerce_update_options_tax()
S
78 2 3
enqueue_jquery_ui_style()
S
70 2 5
get_tax_classes()
S
64 2 9
woocommerce_adjust_non_base_location_prices()
S
77 2 3
get_vat_number_lookup_services()
S
66 2 8
get_vat_region_codes_and_titles()
S
65 2 9
woocommerce_settings_tax_options_end()
S
61 1 13
round_amount()
S
78 1 3
before_woocommerce_init()
S
80 1 3
wpo_wcpdf_process_template_order()
S
81 1 3
cart_is_permitted()
S
72 1 5
get_vat_region_title()
S
80 1 3
get_vat_region_codes()
S
79 1 3
is_premium()
S
80 1 3