WCML_Cart C

Total Complexity 109
Dependencies 6
Dependents 1
Total lines 696
Lines of code 498
Logical lines of code 252
Comment lines 74
Methods 33
Properties 3

Methods 33

Method Rating Maintainability Complexity Lines of code
woocommerce_calculate_totals()
A
40 14 59
cart_alert()
A
42 5 80
add_hooks()
S
43 4 58
get_cart_attribute_translation()
S
53 6 22
translate_shipping_class()
S
57 6 16
empty_cart_if_needed()
S
58 6 14
localize_flat_rates_shipping_classes()
S
61 6 11
cart_switching_currency()
S
53 5 20
is_clean_cart_enabled()
S
57 5 17
sold_individually_product()
S
57 5 16
wcml_check_on_duplicate_products_in_cart()
S
54 4 21
add_to_cart_sold_individually_exception()
S
61 4 13
wcml_removed_cart_items_widget()
S
62 4 11
get_data_cart_hash()
S
64 4 10
validate_cart_item_data()
S
61 3 11
is_clean_cart_enabled_for_currency_switch()
S
63 3 11
wcml_cart_clear_removed_items()
S
66 3 8
switching_currency_empty_cart_if_needed()
S
69 3 6
adjust_cart_item_product_name()
S
67 2 8
cart_item_permalink()
S
70 2 6
remove_attribute_prefix()
S
67 2 8
filter_paypal_args()
S
66 2 8
get_cart_item_data_from_cart()
S
60 1 14
convert_cart_shipping_to_currency()
S
75 1 4
format_converted_cart_total_in_currency()
S
79 1 3
add_language_to_cart_hash_key()
S
79 1 3
__construct()
S
74 1 5
convert_cart_total_to_currency()
S
70 1 6
wcml_refresh_cart_total()
S
82 1 3
wcml_generate_cart_key()
S
66 1 9
wcml_refresh_fragments()
S
82 1 3
enqueue_dialog_ui()
S
77 1 4
convert_crosssell_ids()
S
65 1 10