-
Home
-
Polylang
-
3.3.1
-
Code
-
Classes
- PLL_Links_Model
Total Complexity |
24 |
Dependencies |
2 |
Dependents |
12 |
Total lines |
212 |
Lines of code |
43 |
Logical lines of code |
24 |
Comment lines |
137 |
Methods |
14 |
Properties |
4 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
pll_after_languages_cache() |
S |
64 |
6 |
9 |
set_home_url() |
S |
71 |
3 |
5 |
home_url() |
S |
73 |
3 |
4 |
pll_languages_list() |
S |
70 |
2 |
7 |
__construct() |
S |
66 |
1 |
8 |
add_language_to_link() |
S |
100 |
1 |
0 |
remove_language_from_link() |
S |
100 |
1 |
0 |
remove_paged_from_link() |
S |
100 |
1 |
0 |
add_paged_to_link() |
S |
100 |
1 |
0 |
get_language_from_url() |
S |
100 |
1 |
0 |
front_page_url() |
S |
100 |
1 |
0 |
switch_language_in_link() |
S |
75 |
1 |
4 |
get_hosts() |
S |
79 |
1 |
3 |
allowed_redirect_hosts() |
S |
78 |
1 |
3 |