WCJ_Currency_Per_Product C

Total Complexity 116
Dependencies 0
Dependents 0
Total lines 499
Lines of code 335
Logical lines of code 220
Comment lines 136
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
get_product_currency()
C
40 25 51
change_price()
A
44 13 46
get_current_product_id_and_currency()
A
50 13 27
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