-
Home
-
Polylang
-
3.6.5
-
Code
-
Classes
- PLL_Links_Model
Total Complexity |
22 |
Dependencies |
2 |
Dependents |
12 |
Total lines |
254 |
Lines of code |
50 |
Logical lines of code |
27 |
Comment lines |
162 |
Methods |
16 |
Properties |
5 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
home_url() |
S |
67 |
4 |
7 |
set_language_home_url() |
S |
70 |
3 |
6 |
__construct() |
S |
59 |
2 |
14 |
init() |
S |
98 |
1 |
1 |
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 |
set_language_home_urls() |
S |
70 |
1 |
6 |
allowed_redirect_hosts() |
S |
78 |
1 |
3 |
set_language_search_url() |
S |
79 |
1 |
3 |
remove_filters() |
S |
80 |
1 |
3 |