-
Home
-
Payment gateway via Teya SecurePay for WooCommerce
-
1.3.35 (latest)
-
Code
-
Classes
- WC_Gateway_Borgun
Total Complexity |
141 |
Dependencies |
4 |
Dependents |
0 |
Total lines |
1,018 |
Lines of code |
735 |
Logical lines of code |
377 |
Comment lines |
176 |
Methods |
23 |
Properties |
16 |
Methods 23
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
check_borgun_response() |
D |
29 |
36 |
112 |
get_borgun_args() |
C |
30 |
24 |
108 |
checkout_payment_handler() |
A |
45 |
14 |
38 |
process_refund() |
A |
40 |
11 |
58 |
init_form_fields() |
A |
32 |
1 |
136 |
generate_borgun_form() |
S |
44 |
6 |
44 |
get_price_decimals() |
S |
56 |
7 |
17 |
get_translated_string() |
S |
54 |
5 |
22 |
receipt_page() |
S |
60 |
4 |
13 |
__construct() |
S |
45 |
2 |
40 |
save_order_metas() |
S |
66 |
4 |
8 |
is_valid_for_use() |
S |
54 |
2 |
25 |
check_hash() |
S |
53 |
2 |
22 |
check_order_hash() |
S |
55 |
2 |
18 |
check_order_refund_hash() |
S |
57 |
2 |
16 |
log() |
S |
67 |
3 |
8 |
tax_display() |
S |
74 |
3 |
4 |
borgun_text_keys_to_translate() |
S |
68 |
3 |
7 |
process_payment() |
S |
63 |
2 |
11 |
admin_options() |
S |
64 |
2 |
11 |
round() |
S |
68 |
2 |
7 |
currency_has_decimals() |
S |
70 |
2 |
6 |
fee_tax_display() |
S |
75 |
2 |
4 |