-
Home
-
Polylang
-
3.2.1
-
Code
-
Classes
- PLL_Choose_Lang
Total Complexity |
44 |
Dependencies |
8 |
Dependents |
1 |
Total lines |
320 |
Lines of code |
103 |
Logical lines of code |
64 |
Comment lines |
186 |
Methods |
11 |
Properties |
6 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
home_requested() |
A |
54 |
9 |
19 |
parse_main_query() |
S |
57 |
7 |
15 |
maybe_setcookie() |
S |
63 |
6 |
9 |
set_language() |
S |
61 |
5 |
11 |
get_preferred_language() |
S |
60 |
4 |
12 |
init() |
S |
64 |
4 |
8 |
home_language() |
S |
69 |
4 |
6 |
get_preferred_browser_language() |
S |
63 |
2 |
10 |
__construct() |
S |
71 |
1 |
6 |
pre_comment_on_post() |
S |
80 |
1 |
3 |
set_curlang_in_query() |
S |
75 |
1 |
4 |