w2dc_plugin D

Total Complexity 400
Dependencies 9
Dependents 0
Total lines 1,677
Lines of code 1,319
Logical lines of code 777
Comment lines 109
Methods 59
Properties 32

Methods 59

Method Rating Maintainability Complexity Lines of code
listing_permalink()
D
32 37 99
buildRules()
C
28
28 132
enqueue_scripts_styles()
C
30 28 109
suspend_expired_listings()
C
31 27 108
setCurrentDirectory()
B
50 20 24
init()
A
36 14 72
enqueue_global_vars()
A
33 10 102
dequeue_maps_googleapis()
A
54 14 17
renderShortcode()
A
44 10 43
loadNestedFrontendController()
A
51 11 24
the_content()
A
53 11 22
prevent_wrong_redirect()
A
52 8 25
w2dc_addRules()
A
52 8 23
isAJAXIndexPage()
A
55 8 21
the_title()
S
60 8 12
register_post_type()
S
38 3 80
pre_get_posts()
S
57 7 16
getShortcodeByHash()
S
65 8 8
body_class_before()
S
54 6 22
enqueue_dynamic_css()
S
54 6 19
checkMainShortcode()
S
64 7 8
loadFrontendControllers()
S
60 6 13
template_redirect()
S
60 6 12
pll_stop_add_lang_to_url_term()
S
61 6 11
category_permalink()
S
54 5 20
location_permalink()
S
54 5 20
template_include()
S
65 6 9
getShortcodeProperty()
S
63 6 10
getListingsShortcodeByuID()
S
68 6 6
printlisting_template()
S
66 5 8
wp_loaded()
S
63 5 10
get_edit_post_link()
S
67 5 8
pll_start_add_lang_to_url_term()
S
67 5 7
enqueue_scripts_styles_custom()
S
66 5 8
pll_stop_add_lang_to_url_post()
S
62 4 11
filter_comment_status()
S
64 4 10
tag_permalink()
S
60 3 13
getIndexPage()
S
62 3 12
reserve_slugs()
S
62 3 12
pll_start_add_lang_to_url_post()
S
68 3 7
addBodyClasses()
S
64 3 10
add_query_vars()
S
63 2 11
plugin_row_meta()
S
63 2 10
exclude_post_type_archive_link()
S
72 2 6
pll_setup()
S
64 2 9
divi_not_dequeue_maps_api()
S
74 2 5
activation()
S
64 2 9
w2dc_no_texturize()
S
70 2 6
has_post_thumbnail()
S
71 2 6
body_class_after()
S
64 2 10
rewrite_rules()
S
80 1 3
loadPagesDirectories()
S
74 1 5
getAllDirectoryPages()
S
76 1 4
plugin_action_links()
S
69 1 6
loadClasses()
S
64 1 10
load_textdomains()
S
77 1 3
deactivation()
S
77 1 4
pll_rewrite_rules()
S
73 1 5
__construct()
S
75 1 4