AWPCP_ListingsPermalinks A

Total Complexity 53
Dependencies 1
Dependents 1
Total lines 360
Lines of code 183
Logical lines of code 105
Comment lines 105
Methods 17
Properties 5

Methods 17

Method Rating Maintainability Complexity Lines of code
get_listing_location()
A
56 9 17
get_post_type_permastruct()
S
54 6 21
update_post_type_permastruct()
S
53 5 22
maybe_set_current_post()
S
58 5 16
should_include_location_in_listing_url()
S
61 5 15
is_show_listings_page()
S
59 5 15
get_post_link()
S
61 5 13
get_plain_post_link()
S
63 2 11
get_show_listing_page_id()
S
75 2 4
filter_post_type_link()
S
70 2 6
update_post_type_permastruct_for_listings_as_single_posts()
S
75 1 4
add_permastruct()
S
79 1 3
update_post_type_permastruct_for_inline_listings()
S
67 1 7
get_less_seo_friendly_post_link()
S
67 1 8
replace_rewrite_tags()
S
71 1 5
get_seo_friendly_post_link()
S
65 1 9
__construct()
S
69 1 7