-
Home
-
Walletdoc Payment Gateway for WooCommerce
-
1.4.9
-
Code
-
Classes
- WC_Walletdoc_Payment_Gateway
Total Complexity |
154 |
Dependencies |
9 |
Dependents |
1 |
Total lines |
1,205 |
Lines of code |
799 |
Logical lines of code |
520 |
Comment lines |
109 |
Methods |
21 |
Properties |
3 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
process_payment() |
D |
21 |
36 |
199 |
webhook() |
D |
27 |
35 |
123 |
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 |