Total Complexity | 90 |
Dependencies | 1 |
Dependents | 0 |
Total lines | 325 |
Lines of code | 256 |
Logical lines of code | 155 |
Comment lines | 1 |
Methods | 9 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_matched_rules_by_product_ids() | 34 | 34 | 78 | |
get_available_payment_gateways() | 44 | 17 | 40 | |
filter_available_payment_gateways_by_product_ids() | 54 | 7 | 21 | |
filter_available_payment_gateways_by_amount() | 54 | 7 | 21 | |
get_cart_product_ids() | 52 | 6 | 25 | |
filter_available_payment_gateways() | 55 | 6 | 19 | |
get_matched_rules_by_amount() | 56 | 6 | 17 | |
woocommerce_add_to_cart_validation() | 52 | 5 | 23 | |
get_rules() | 61 | 2 | 12 |