Total Complexity | 113 |
Dependencies | 1 |
Dependents | 0 |
Total lines | 372 |
Lines of code | 303 |
Logical lines of code | 181 |
Comment lines | 1 |
Methods | 11 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_matched_rules_by_product_ids() | 32 | 40 | 89 | |
get_available_payment_gateways() | 44 | 18 | 40 | |
get_cart_product_ids() | 46 | 10 | 40 | |
filter_customer_payment_tokens() | 57 | 9 | 15 | |
filter_available_payment_gateways() | 54 | 8 | 19 | |
filter_available_payment_gateways_by_product_ids() | 54 | 7 | 21 | |
filter_available_payment_gateways_by_amount() | 54 | 7 | 21 | |
get_matched_rules_by_amount() | 56 | 6 | 17 | |
woocommerce_add_to_cart_validation() | 52 | 5 | 23 | |
get_rules() | 60 | 2 | 13 | |
init() | 71 | 1 | 5 |