-
Home
-
YITH WooCommerce Affiliates
-
3.9.0
-
Code
-
Classes
- YITH_WCAF_Gateways
Total Complexity |
58 |
Dependencies |
8 |
Dependents |
15 |
Total lines |
431 |
Lines of code |
208 |
Logical lines of code |
114 |
Comment lines |
159 |
Methods |
19 |
Properties |
1 |
Methods 19
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
show_fields() |
A |
45 |
15 |
38 |
load_gateways() |
S |
52 |
5 |
26 |
should_show_gateway() |
S |
61 |
5 |
13 |
load_legacy_gateways() |
S |
60 |
4 |
13 |
maybe_open_form_container() |
S |
54 |
3 |
25 |
maybe_close_form_container() |
S |
63 |
3 |
13 |
get_field_name() |
S |
62 |
3 |
11 |
get_available_gateways_fields() |
S |
62 |
3 |
11 |
is_available_gateway() |
S |
68 |
3 |
7 |
get_available_gateways() |
S |
64 |
3 |
10 |
get_available_gateways_list() |
S |
63 |
2 |
12 |
get_gateway() |
S |
70 |
2 |
6 |
get_gateway_ids() |
S |
79 |
1 |
3 |
check_current_instance() |
S |
80 |
1 |
3 |
get_gateways() |
S |
80 |
1 |
3 |
should_show_fields() |
S |
79 |
1 |
3 |
get_fields_to_show() |
S |
80 |
1 |
3 |
is_valid_gateway() |
S |
79 |
1 |
3 |
init() |
S |
73 |
1 |
5 |