WC_Taxjar_Integration D

Total Complexity 238
Dependencies 18
Dependents 4
Total lines 1,712
Lines of code 1,233
Logical lines of code 573
Comment lines 259
Methods 48
Properties 1

Methods 48

Method Rating Maintainability Complexity Lines of code
calculate_tax()
D
28
29 146
get_settings()
C
24
13 236
calculate_totals()
B
34 21 90
calculate_backend_totals()
A
42 10 52
get_address()
A
56 12 16
override_woocommerce_tax_rates()
A
51 10 25
get_line_items()
A
47 8 33
get_taxable_address()
A
47 8 33
append_base_address_to_customer_taxable_address()
A
51 8 24
__construct()
S
42 5 46
should_calculate_cart_tax()
S
59 7 13
get_backend_line_items()
S
49 5 32
is_postal_code_valid()
S
49 5 31
get_backend_address()
S
58 6 14
output_sections()
S
58 6 13
calculate_order_tax()
S
48 4 34
output_transaction_backfill()
S
49 3 47
get_store_settings()
S
56 5 17
post_or_setting()
S
59 5 15
_log()
S
60 5 13
create_or_update_tax_rate()
S
46 3 39
calculate_renewal_order_totals()
S
59 4 16
sanitize_settings()
S
58 4 15
smartcalcs_request()
S
57 4 15
output()
S
63 4 11
on_settings_page()
S
76 4 3
_get_wildcard_postcodes()
S
59 3 13
output_sync_queue()
S
62 3 12
smartcalcs_cache_request()
S
62 3 11
should_calculate_order_tax()
S
62 3 11
allow_street_address_for_matched_rates()
S
56 2 18
on_order_page()
S
73 3 4
get_line_item()
S
67 3 8
generate_button_html()
S
51 1 29
load_taxjar_admin_assets()
S
55 1 20
display_errors()
S
65 2 9
load_taxjar_admin_new_order_assets()
S
68 2 7
instance()
S
72 2 6
get_tax_code_from_class()
S
67 2 8
get_value_from_post()
S
68 2 7
output_sections_before()
S
82 1 3
taxjar_admin_menu()
S
77 1 3
save()
S
77 1 4
get_sections()
S
66 1 8
get_connect_url()
S
71 1 5
add_settings_page()
S
75 1 4
is_valid_exemption_type()
S
74 1 4
get_address_from_order()
S
64 1 10