WC_Walletdoc_Payment_Gateway D

Total Complexity 144
Dependencies 9
Dependents 1
Total lines 1,077
Lines of code 735
Logical lines of code 474
Comment lines 103
Methods 21
Properties 3

Methods 21

Method Rating Maintainability Complexity Lines of code
process_payment()
D
21
36 199
webhook()
C
37 25 59
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
46 7 37
addToken()
S
50 4 31
getDateDiff()
S
50 4 28
__construct()
S
41 2 55
elements_form()
S
46 1 67
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