WC_Connect_TaxJar_Integration D

Total Complexity 200
Dependencies 11
Dependents 2
Total lines 1,308
Lines of code 840
Logical lines of code 427
Comment lines 299
Methods 33
Properties 4

Methods 33

Method Rating Maintainability Complexity Lines of code
calculate_totals()
B
36 21 75
calculate_tax()
B
31 18 119
backup_existing_tax_rates()
A
36 11 91
_error()
A
51 13 22
get_line_items()
A
45 11 40
get_address()
A
56 12 16
override_woocommerce_tax_rates()
A
51 10 25
sanitize_tax_option()
A
57 10 16
get_backend_line_items()
A
44 8 44
get_taxable_address()
A
47 8 33
calculate_backend_totals()
A
45 7 42
append_base_address_to_customer_taxable_address()
A
51 8 25
fix_tooltip_keepalive()
S
54 7 21
init()
S
49 6 29
add_tax_settings()
S
47 5 36
get_backend_address()
S
58 6 14
create_or_update_tax_rate()
S
46 3 38
generate_tax_rate_name()
S
52 3 28
smartcalcs_request()
S
54 3 21
smartcalcs_cache_request()
S
62 3 11
get_tax_tooltip()
S
61 3 11
allow_street_address_for_matched_rates()
S
56 2 18
on_order_page()
S
73 3 4
configure_tax_settings()
S
68 3 7
is_enabled()
S
66 3 8
get_line_item()
S
67 3 8
load_taxjar_admin_new_order_assets()
S
69 2 6
maybe_calculate_totals()
S
72 2 6
_log()
S
74 2 4
get_store_settings()
S
64 1 10
is_supported_country()
S
79 1 3
get_supported_countries()
S
73 1 3
__construct()
S
71 1 6