WC_Connect_TaxJar_Integration D

Total Complexity 283
Dependencies 15
Dependents 2
Total lines 1,652
Lines of code 1,003
Logical lines of code 548
Comment lines 421
Methods 38
Properties 11

Methods 38

Method Rating Maintainability Complexity Lines of code
smartcalcs_cache_request()
C
38 24 62
calculate_totals()
B
36 21 75
get_itemized_tax_rates()
B
37 16 76
validate_taxjar_request()
A
50 15 26
calculate_tax()
A
38 12 68
create_or_update_tax_rate()
A
41 12 53
override_woocommerce_tax_rates()
A
49 12 31
get_line_items()
A
45 11 41
check_for_incorrect_california_tax_nexus()
A
51 12 25
get_address()
A
56 12 16
get_backend_line_items()
A
44 10 44
_error()
A
51 11 23
sanitize_tax_option()
A
57 10 16
maybe_apply_taxjar_nexus_addresses_workaround()
A
42 7 59
get_taxable_address()
A
48 8 31
add_tax_settings()
A
45 7 40
calculate_backend_totals()
A
45 7 40
append_base_address_to_customer_taxable_address()
A
51 8 23
on_order_page()
A
55 8 20
fix_tooltip_keepalive()
S
54 7 21
init()
S
49 6 30
smartcalcs_request()
S
50 6 27
get_backend_address()
S
58 6 14
maybe_override_taxjar_tax()
S
52 4 27
generate_itemized_tax_rate_name()
S
60 4 12
get_tax_tooltip()
S
59 4 12
allow_street_address_for_matched_rates()
S
56 2 18
is_enabled()
S
66 3 8
configure_tax_settings()
S
68 3 7
get_line_item()
S
67 3 8
_log()
S
74 2 4
maybe_calculate_totals()
S
72 2 6
backup_existing_tax_rates()
S
65 2 9
load_taxjar_admin_new_order_assets()
S
69 2 6
__construct()
S
65 1 9
get_supported_countries()
S
73 1 3
is_supported_country()
S
79 1 3
get_store_settings()
S
64 1 10