Total Complexity | 68 |
Dependencies | 10 |
Dependents | 1 |
Total lines | 345 |
Lines of code | 196 |
Logical lines of code | 126 |
Comment lines | 95 |
Methods | 13 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_field_data() | 40 | 22 | 56 | |
woocommerce_add_cart_item() | 50 | 11 | 24 | |
woocommerce_add_cart_item_data() | 47 | 9 | 35 | |
woocommerce_new_order_item() | 61 | 6 | 11 | |
woocommerce_get_item_data() | 59 | 4 | 15 | |
woocommerce_add_order_item_meta() | 64 | 4 | 9 | |
validate_product_referer_id() | 71 | 3 | 5 | |
woocommerce_get_cart_item_from_session() | 66 | 3 | 8 | |
woocommerce_add_to_cart_handler() | 67 | 2 | 7 | |
__construct() | 68 | 1 | 7 | |
hooks() | 64 | 1 | 9 | |
field_price_multicurrency() | 72 | 1 | 5 | |
field_display_value() | 72 | 1 | 5 |