-
Home
-
Polylang
-
3.0.4
-
Code
-
Classes
- PLL_Links_Model
Total Complexity |
25 |
Dependencies |
2 |
Dependents |
11 |
Total lines |
215 |
Lines of code |
45 |
Logical lines of code |
25 |
Comment lines |
138 |
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 |
67 |
4 |
7 |
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 |