PAFW_Payment_Method_Controller C

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

Methods 11

Method Rating Maintainability Complexity Lines of code
get_matched_rules_by_product_ids()
D
32 40 89
get_available_payment_gateways()
B
44 18 40
get_cart_product_ids()
A
46 10 40
filter_customer_payment_tokens()
A
57 9 15
filter_available_payment_gateways()
A
54 8 19
filter_available_payment_gateways_by_product_ids()
S
54 7 21
filter_available_payment_gateways_by_amount()
S
54 7 21
get_matched_rules_by_amount()
S
56 6 17
woocommerce_add_to_cart_validation()
S
52 5 23
get_rules()
S
60 2 13
init()
S
71 1 5