Smartcrawl_Controller_Wpml S

Total Complexity 31
Dependencies 4
Dependents 1
Total lines 190
Lines of code 135
Logical lines of code 69
Comment lines 20
Methods 16
Properties 2

Methods 16

Method Rating Maintainability Complexity Lines of code
limit_sitemap_posts_by_language()
S
57 4 17
limit_sitemap_terms_by_language()
S
59 4 14
add_homepage_versions()
S
56 3 19
add_homepage_versions_to_partial()
S
67 4 7
hook_with_wpml()
S
61 3 13
translate_post_url()
S
61 2 12
get()
S
71 2 6
__construct()
S
76 1 4
should_run()
S
80 1 3
init()
S
79 1 3
sitemap_for_each_domain()
S
65 1 9
append_language_code_to_cache()
S
74 1 4
fix_duplicate_urls()
S
69 1 6
add_permalink_filters()
S
70 1 6
remove_permalink_filters()
S
70 1 6
get_sitemap_homepage_item()
S
71 1 6