Total Complexity | 77 |
Dependencies | 9 |
Dependents | 1 |
Total lines | 406 |
Lines of code | 239 |
Logical lines of code | 155 |
Comment lines | 104 |
Methods | 14 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_field_data() | 39 | 22 | 59 | |
woocommerce_add_cart_item() | 45 | 14 | 35 | |
woocommerce_add_cart_item_data() | 45 | 11 | 41 | |
woocommerce_new_order_item() | 61 | 6 | 11 | |
validate_product_referer_id() | 58 | 5 | 15 | |
woocommerce_get_item_data() | 59 | 4 | 15 | |
woocommerce_add_order_item_meta() | 64 | 4 | 9 | |
woocommerce_get_cart_item_from_session() | 66 | 3 | 8 | |
add_fee() | 65 | 2 | 11 | |
field_display_value() | 65 | 2 | 9 | |
__construct() | 68 | 1 | 7 | |
hooks() | 64 | 1 | 9 | |
woocommerce_add_to_cart_handler() | 71 | 1 | 5 | |
field_price_multicurrency() | 72 | 1 | 5 |