WCML_Store_Pages C

Total Complexity 121
Dependencies 9
Dependents 1
Total lines 740
Lines of code 520
Logical lines of code 306
Comment lines 62
Methods 21
Properties 5

Methods 21

Method Rating Maintainability Complexity Lines of code
get_missing_store_pages()
B
42 17 48
shop_page_query()
A
43 14 45
create_missing_store_pages()
A
37 12 70
template_loader()
A
44 10 46
translate_ls_shop_url()
A
46 9 41
show_translate_shop_pages_notice()
A
47 9 36
add_hooks()
A
52 9 22
switch_pages_language()
A
50 8 30
install_pages_action()
A
43 6 54
legacy_check_if_page_use_shortcode()
S
61 5 12
after_set_default_language()
S
57 4 15
init()
S
59 4 13
add_filter_to_get_shop_translated_page_id()
S
50 2 31
filter_shop_archive_link()
S
64 4 10
get_wc_pages()
S
60 2 15
fetch_wc_pages()
S
60 1 14
__construct()
S
77 1 4
add_hooks_multilingual_woocommerce_create_pages()
S
75 1 4
create_missing_store_pages_with_redirect()
S
76 1 4
switch_lang()
S
81 1 3
get_checkout_page_url()
S
77 1 3