WCJ_Currency_Per_Product C

Total Complexity 118
Dependencies 1
Dependents 0
Total lines 521
Lines of code 336
Logical lines of code 221
Comment lines 153
Methods 16
Properties 3

Methods 16

Method Rating Maintainability Complexity Lines of code
get_product_currency()
C
40 25 51
get_current_product_id_and_currency()
A
49 15 28
change_price()
A
44 13 46
change_shipping_price()
A
50 11 30
validate_on_add_to_cart()
A
47 10 38
get_cart_checkout_currency()
A
54 8 20
grouped_price_html()
S
49 6 31
__construct()
S
51 3 25
get_currency_exchange_rate()
S
62 4 10
maybe_return_saved_converted_price()
S
65 4 9
is_cart_or_checkout_or_ajax()
S
70 4 6
change_currency_code()
S
64 4 10
maybe_save_converted_price()
S
67 3 7
get_cart_item_from_session()
S
65 3 9
add_cart_item()
S
66 3 9
add_cart_item_data()
S
69 2 7