WC_EU_VAT_Compliance D

Total Complexity 297
Dependencies 4
Dependents 0
Total lines 1,578
Lines of code 844
Logical lines of code 574
Comment lines 437
Methods 54
Properties 5

Methods 54

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_vat_matches()
A
50 12 26
get_visitor_country_info()
A
48 11 31
plugins_loaded()
A
38 8 70
wpo_wcpdf_footer()
A
50 10 27
woocommerce_check_cart_items()
A
53 8 19
get_vat_regions()
S
57 8 15
product_list_has_relevant_products()
S
55 6 18
get_vat_number_lookup_service()
S
57 6 16
get_vat_region_object()
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
product_taxable_class_indicates_buyer_country_variable_vat()
S
64 6 8
get_version()
S
59 5 13
order_status_to_text()
S
56 4 15
get_conversion_provider()
S
61 4 11
construct_country_info()
S
57 3 17
get_vat_region_countries()
S
64 4 9
plugin_action_links()
S
61 4 10
convert_taxes_to_array()
S
59 3 14
get_taxable_address()
S
62 3 12
get_currency_code_options()
S
64 3 9
load_updater()
S
69 3 7
mb_ucfirst()
S
73 3 4
get_customer_taxable_region_code()
S
71 3 5
version_1_19_7_rename_valid_eu_vat_meta_field()
S
64 3 9
get_vat_region_when_looking_up_number_for()
S
64 3 9
forbid_vat_checkout_to_which_regions()
S
66 3 8
get_region_vat_tax_classes()
S
71 3 5
__construct()
S
53 1 22
enqueue_jquery_ui_style()
S
70 2 5
get_tax_classes()
S
64 2 9
woocommerce_update_options_tax()
S
78 2 3
get_vat_number_lookup_services()
S
66 2 8
woocommerce_adjust_non_base_location_prices()
S
77 2 3
get_visitor_ip_address()
S
67 2 7
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
wpo_wcpdf_process_template_order()
S
81 1 3
cart_is_permitted()
S
72 1 5
before_woocommerce_init()
S
80 1 3
get_base_countries()
S
75 1 4
get_vat_region_title()
S
80 1 3
get_vat_region_codes()
S
79 1 3
is_premium()
S
80 1 3