WC_Walletdoc_Payment_Gateway D

Total Complexity 156
Dependencies 10
Dependents 1
Total lines 1,215
Lines of code 834
Logical lines of code 525
Comment lines 110
Methods 21
Properties 3

Methods 21

Method Rating Maintainability Complexity Lines of code
process_payment()
D
21
36 208
webhook()
D
26
36 130
capture_payment()
A
44 14 39
add_payment_method()
A
38 10 71
process_refund()
A
45 9 40
payment_fields()
A
45 7 40
CombineSubscription()
A
45 7 37
addToken()
S
49 5 34
elements_form()
S
44 1 81
getDateDiff()
S
50 4 28
__construct()
S
41 2 57
validate_production_secret_field()
S
61 4 12
validate_client_secret_field()
S
61 4 12
isEmpty()
S
77 4 3
validate_walletdoc_signature()
S
60 3 12
are_keys_set()
S
68 2 7
is_subs_change_payment()
S
78 2 3
is_available()
S
72 2 6
stringMatchMethod()
S
69 2 7
init_form_fields()
S
76 1 4
log()
S
80 1 3