-
Home
-
WooCommerce Multilingual & Multicurrency with WPML
-
5.4.3
-
Code
-
Classes
- WCML_Switch_Lang_Request
Total Complexity |
28 |
Dependencies |
3 |
Dependents |
0 |
Total lines |
123 |
Lines of code |
59 |
Logical lines of code |
33 |
Comment lines |
32 |
Methods |
10 |
Properties |
4 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_server_host_name() |
S |
60 |
8 |
11 |
detect_user_switch_language() |
S |
65 |
4 |
9 |
add_hooks() |
S |
71 |
3 |
5 |
get_cookie_lang() |
S |
66 |
3 |
8 |
__construct() |
S |
67 |
2 |
8 |
get_cookie_domain() |
S |
79 |
2 |
3 |
get_requested_lang() |
S |
79 |
2 |
3 |
get_request_uri_lang() |
S |
71 |
2 |
5 |
get_cookie_name() |
S |
81 |
1 |
3 |
is_comments_post_page() |
S |
77 |
1 |
4 |