| Total Complexity | 96 |
| Dependencies | 1 |
| Dependents | 0 |
| Total lines | 338 |
| Lines of code | 268 |
| Logical lines of code | 162 |
| Comment lines | 1 |
| Methods | 9 |
| Properties | 1 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| get_matched_rules_by_product_ids() | 32 | 39 | 89 | |
| get_available_payment_gateways() | 44 | 18 | 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() | 60 | 2 | 13 |