WC_Connect_TaxJar_Integration D

Total Complexity 271
Dependencies 14
Dependents 2
Total lines 1,735
Lines of code 1,072
Logical lines of code 548
Comment lines 426
Methods 40
Properties 11

Methods 40

Method Rating Maintainability Complexity Lines of code
calculate_totals()
B
36 21 75
get_itemized_tax_rates()
B
35 16 87
calculate_tax()
A
36 13 81
validate_taxjar_request()
A
50 15 26
create_or_update_tax_rate()
A
40 13 55
sanitize_tax_option()
A
52 14 24
get_combined_tax_rates()
A
38 10 73
get_line_items()
A
45 11 41
get_address()
A
56 12 16
get_backend_line_items()
A
44 10 44
_error()
A
51 11 23
override_woocommerce_tax_rates()
A
51 10 25
maybe_apply_taxjar_nexus_addresses_workaround()
A
43 7 53
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
smartcalcs_cache_request()
S
53 5 22
maybe_override_taxjar_tax()
S
52 4 27
generate_combined_tax_rate_name()
S
50 3 34
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
is_tax_display_itemized()
S
70 2 6
__construct()
S
67 1 8
get_supported_countries()
S
73 1 3
is_supported_country()
S
79 1 3
get_store_settings()
S
64 1 10