-
Home
-
TradeSafe Payment Gateway for WooCommerce
-
2.19.0
-
Code
-
Classes
- TradeSafe
| Total Complexity |
115 |
| Dependencies |
6 |
| Dependents |
0 |
| Total lines |
786 |
| Lines of code |
564 |
| Logical lines of code |
294 |
| Comment lines |
81 |
| Methods |
17 |
| Properties |
0 |
Methods 17
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| parse_request() |
D |
22 |
34 |
207 |
| add_gateway_fee() |
A |
42 |
15 |
45 |
| complete_transaction() |
A |
45 |
11 |
39 |
| is_valid_token() |
A |
48 |
11 |
33 |
| complete_delivery() |
S |
49 |
7 |
29 |
| availability() |
S |
56 |
7 |
18 |
| init() |
S |
39 |
3 |
73 |
| cancel_transaction() |
S |
49 |
5 |
32 |
| checkout_field_defaults() |
S |
57 |
5 |
16 |
| disable_add_product_button() |
S |
57 |
4 |
19 |
| disable_publish_button() |
S |
62 |
3 |
15 |
| settings_page() |
S |
66 |
3 |
8 |
| sanitize_boolean() |
S |
71 |
2 |
6 |
| order_statuses() |
S |
69 |
2 |
6 |
| refresh_checkout() |
S |
72 |
1 |
11 |
| override_dokan_selling() |
S |
81 |
1 |
3 |
| bulk_actions() |
S |
74 |
1 |
4 |