WC_Openpay_Gateway A

Total Complexity 54
Dependencies 9
Dependents 7
Total lines 490
Lines of code 348
Logical lines of code 152
Comment lines 61
Methods 11
Properties 20

Methods 11

Method Rating Maintainability Complexity Lines of code
process_payment()
C
31 25 102
__construct()
A
46 10 32
init_form_fields()
A
32 1 135
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