-
Home
-
Polylang
-
3.7.3 (latest)
-
Code
-
Classes
- PLL_Choose_Lang
| Total Complexity |
48 |
| Dependencies |
7 |
| Dependents |
1 |
| Total lines |
341 |
| Lines of code |
118 |
| Logical lines of code |
73 |
| Comment lines |
188 |
| Methods |
12 |
| Properties |
4 |
Methods 12
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| home_requested() |
A |
52 |
10 |
22 |
| parse_main_query() |
S |
56 |
7 |
16 |
| set_language() |
S |
57 |
6 |
17 |
| maybe_setcookie() |
S |
63 |
6 |
9 |
| 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 |
| set_curlang_in_query() |
S |
70 |
2 |
6 |
| __construct() |
S |
71 |
1 |
6 |
| pre_comment_on_post() |
S |
80 |
1 |
3 |
| filter_option_show_on_front() |
S |
82 |
1 |
3 |