WC_EU_VAT_Compliance D

Total Complexity 245
Dependencies 3
Dependents 0
Total lines 1,317
Lines of code 680
Logical lines of code 471
Comment lines 387
Methods 48
Properties 5

Methods 48

Method Rating Maintainability Complexity Lines of code
get_vat_paid()
C
34 29 80
ajax_update_checkout_totals()
B
50 18 24
get_region_code_from_order()
A
49 14 27
get_rate_providers()
A
50 14 23
get_vat_matches()
A
50 12 26
get_store_vat_number()
A
52 12 20
get_visitor_country_info()
A
48 11 31
get_vat_region()
A
61 10 11
woocommerce_check_cart_items()
S
53 7 20
get_vat_region_object()
S
56 7 17
plugins_loaded()
S
40 4 61
wpo_wcpdf_footer()
S
51 6 26
product_list_has_relevant_products()
S
55 6 18
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
product_taxable_class_indicates_buyer_country_variable_vat()
S
64 6 8
get_version()
S
60 5 12
order_status_to_text()
S
56 4 15
get_vat_region_when_looking_up_number_for()
S
65 5 8
get_conversion_provider()
S
61 4 11
construct_country_info()
S
57 3 17
plugin_action_links()
S
61 4 10
get_taxable_address()
S
62 3 12
enqueue_admin_js()
S
62 3 10
cart_is_permitted_for_country()
S
64 3 9
forbid_vat_checkout_to_which_regions()
S
66 3 8
get_region_vat_tax_classes()
S
71 3 5
load_updater()
S
69 3 7
mb_ucfirst()
S
73 3 4
get_currency_code_options()
S
64 3 9
__construct()
S
54 1 21
enqueue_jquery_ui_style()
S
70 2 5
get_tax_classes()
S
64 2 9
woocommerce_update_options_tax()
S
78 2 3
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
round_amount()
S
78 1 3
wpo_wcpdf_process_template_order()
S
81 1 3
woocommerce_settings_tax_options_end()
S
77 1 4
get_base_countries()
S
75 1 4
get_vat_region_title()
S
80 1 3
get_vat_region_countries()
S
80 1 3
before_woocommerce_init()
S
80 1 3
validate_vat_number()
S
66 1 8
get_vat_region_codes()
S
80 1 3
is_premium()
S
80 1 3