Total Complexity | 46 |
Dependencies | 1 |
Dependents | 0 |
Total lines | 248 |
Lines of code | 191 |
Logical lines of code | 88 |
Comment lines | 15 |
Methods | 14 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_bot_currency() | 51 | 10 | 26 | |
convert_price() | 56 | 7 | 20 | |
isBot() | 44 | 3 | 53 | |
set_currency_for_bot() | 59 | 5 | 15 | |
add_currency_query_to_product_link() | 61 | 5 | 12 | |
is_google_bot() | 58 | 3 | 17 | |
check_bot() | 75 | 3 | 3 | |
__construct() | 61 | 2 | 11 | |
modify_gg_product_attributes() | 71 | 2 | 5 | |
woosea_product_permalinks() | 70 | 2 | 6 | |
convert_currency_regular_price() | 82 | 1 | 3 | |
add_currency_arg_to_product_permalinks() | 76 | 1 | 4 | |
add_change_price_hook() | 66 | 1 | 8 | |
remove_change_price_hook() | 66 | 1 | 8 |