STM_LMS_Page_Router B

Total Complexity 94
Dependencies 4
Dependents 2
Total lines 540
Lines of code 336
Logical lines of code 176
Comment lines 2
Methods 20
Properties 10

Methods 20

Method Rating Maintainability Complexity Lines of code
modify_switcher()
A
49 13 29
template()
A
52 13 22
add_rewrite_rules()
A
48 7 33
add_wpml_pages()
S
50 7 28
set_pages()
S
54 7 19
__construct()
S
50 5 27
change_page_content()
S
59 6 12
generate_routes()
S
61 5 12
fill_parent_data()
S
61 5 12
fill_subpages_url()
S
62 5 11
pages_config()
S
41 1 68
has_config()
S
62 4 12
insert_language_code()
S
66 4 8
generate_pages()
S
69 3 8
include_template()
S
69 2 7
reset_page_config()
S
74 2 5
wpml_config()
S
69 2 7
reset_config()
S
72 1 6
save_config()
S
69 1 6
modify_post_type_query()
S
75 1 4