WC_Openpay_Gateway A

Total Complexity 55
Dependencies 9
Dependents 7
Total lines 509
Lines of code 367
Logical lines of code 153
Comment lines 61
Methods 11
Properties 21

Methods 11

Method Rating Maintainability Complexity Lines of code
process_payment()
C
31 25 103
__construct()
A
45 11 33
init_form_fields()
A
31 1 152
cvvValidation()
A
52 8 23
validate_fields()
S
66 3 8
payment_fields()
S
61 2 12
payment_scripts()
S
53 1 22
webhook()
S
91 1 2
process_admin_options()
S
71 1 6
getOpenpayInstance()
S
82 1 3
action_woocommerce_checkout_create_order()
S
78 1 3