PrliLink D

Total Complexity 132
Dependencies 2
Dependents 4
Total lines 792
Lines of code 604
Logical lines of code 281
Comment lines 24
Methods 37
Properties 3

Methods 37

Method Rating Maintainability Complexity Lines of code
sanitize()
B
53 20 17
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
count_links()
S
50 5 30
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 21
destroy()
S
58 3 14
get_link_min()
S
61 3 11
update_cpt_post_modified()
S
57 2 19
update_cpt_post_date()
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
is_pretty_link_slug()
S
78 1 3
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_post_prettypay_link()
S
71 1 5