WCJ_Currency_Per_Product C

Total Complexity 116
Dependencies 0
Dependents 0
Total lines 473
Lines of code 313
Logical lines of code 210
Comment lines 134
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
get_product_currency()
C
40 25 51
change_price()
A
45 13 42
get_current_product_id_and_currency()
A
50 13 26
change_shipping_price()
A
50 11 29
validate_on_add_to_cart()
A
50 10 28
get_cart_checkout_currency()
A
55 8 19
grouped_price_html()
S
49 6 31
__construct()
S
51 3 25
get_currency_exchange_rate()
S
63 4 9
maybe_return_saved_converted_price()
S
65 4 9
is_cart_or_checkout_or_ajax()
S
74 4 4
change_currency_code()
S
67 4 8
maybe_save_converted_price()
S
68 3 7
get_cart_item_from_session()
S
66 3 9
add_cart_item()
S
66 3 9
add_cart_item_data()
S
69 2 7