-
Home
-
TriPay Payment Gateway
-
3.3.1
-
Code
-
Classes
- WC_Tripay_Blocks
| Total Complexity |
46 |
| Dependencies |
1 |
| Dependents |
1 |
| Total lines |
423 |
| Lines of code |
328 |
| Logical lines of code |
95 |
| Comment lines |
14 |
| Methods |
12 |
| Properties |
3 |
Methods 12
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| gateways() |
A |
32 |
3 |
143 |
| wp_add_checkout_fees() |
A |
48 |
9 |
30 |
| convertUsdToIdr() |
S |
54 |
6 |
19 |
| convertFromIdr() |
S |
55 |
6 |
18 |
| get_payment_method_data() |
S |
52 |
5 |
24 |
| fee() |
S |
51 |
4 |
26 |
| buildApiUrl() |
S |
65 |
5 |
7 |
| get_fee() |
S |
58 |
4 |
15 |
| wp_refresh_checkout_on_payment_methods_change() |
S |
67 |
1 |
19 |
| get_payment_method_script_handles() |
S |
61 |
1 |
13 |
| initialize() |
S |
71 |
1 |
5 |
| localize_wc_blocks_data() |
S |
67 |
1 |
9 |