-
Home
-
PrettyLinks – Affiliate Links, Link Branding, Link Tracking & Marketing Plugin
-
3.2.3
-
Code
-
Classes
- PrliLink
Total Complexity |
125 |
Dependencies |
2 |
Dependents |
3 |
Total lines |
745 |
Lines of code |
569 |
Logical lines of code |
264 |
Comment lines |
24 |
Methods |
35 |
Properties |
3 |
Methods 35
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
sanitize() |
B |
54 |
19 |
16 |
create() |
A |
44 |
13 |
41 |
get_target_to_pretty_urls() |
A |
42 |
9 |
54 |
get_one_by() |
A |
41 |
8 |
60 |
validate() |
A |
51 |
9 |
25 |
get_pretty_link_url() |
S |
56 |
7 |
18 |
is_pretty_link() |
S |
57 |
6 |
15 |
get_or_create_pretty_link_for_target_url() |
S |
58 |
6 |
14 |
getAll() |
S |
44 |
3 |
51 |
generateValidSlug() |
S |
56 |
5 |
17 |
create_cpt_for_link() |
S |
52 |
4 |
26 |
update() |
S |
53 |
4 |
22 |
destroy() |
S |
58 |
3 |
14 |
get_link_min() |
S |
61 |
3 |
11 |
update_cpt_post_date() |
S |
57 |
2 |
19 |
update_cpt_post_modified() |
S |
57 |
2 |
19 |
update_group() |
S |
58 |
2 |
17 |
get_link_from_cpt() |
S |
60 |
2 |
15 |
get_all_legacy_groups() |
S |
63 |
2 |
11 |
update_cpt_title() |
S |
61 |
1 |
14 |
update_cpt_status() |
S |
61 |
1 |
14 |
update_link_status() |
S |
63 |
1 |
12 |
update_link_cpt() |
S |
64 |
1 |
11 |
bookmarklet_link() |
S |
72 |
1 |
5 |
__construct() |
S |
76 |
1 |
4 |
get_link_slug() |
S |
68 |
1 |
6 |
get_count() |
S |
71 |
1 |
5 |
find_first_target_url() |
S |
69 |
1 |
6 |
getOne() |
S |
78 |
1 |
3 |
getOneFromSlug() |
S |
78 |
1 |
3 |
reset() |
S |
67 |
1 |
7 |
enable_link() |
S |
79 |
1 |
3 |
disable_link() |
S |
79 |
1 |
3 |
get_first_date() |
S |
71 |
1 |
5 |
is_pretty_link_slug() |
S |
78 |
1 |
3 |