Total Complexity | 33 |
Dependencies | 5 |
Dependents | 3 |
Total lines | 217 |
Lines of code | 124 |
Logical lines of code | 66 |
Comment lines | 50 |
Methods | 14 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
is_postal_code_valid() | 49 | 5 | 31 | |
calculate_renewal_order_totals() | 56 | 5 | 19 | |
should_calculate_cart_tax() | 60 | 4 | 13 | |
should_calculate_on_page() | 78 | 3 | 3 | |
__construct() | 68 | 2 | 8 | |
maybe_calculate_order_taxes() | 68 | 2 | 7 | |
maybe_calculate_cart_taxes() | 69 | 2 | 7 | |
is_cart_or_checkout_page() | 79 | 2 | 3 | |
is_mini_cart() | 79 | 2 | 3 | |
get_tax_code_from_class() | 67 | 2 | 8 | |
init_hooks() | 71 | 1 | 5 | |
update_tax_options() | 64 | 1 | 10 | |
is_cart_or_checkout_block() | 81 | 1 | 3 | |
is_valid_exemption_type() | 74 | 1 | 4 |