LP_Page_Controller D

Total Complexity 177
Dependencies 13
Dependents 3
Total lines 1,020
Lines of code 577
Logical lines of code 390
Comment lines 270
Methods 26
Properties 7

Methods 26

Method Rating Maintainability Complexity Lines of code
_load_archive_courses()
D
30 30 116
pre_get_posts()
B
40 16 56
set_link_item_course_default_wp_to_page_404()
A
44 14 41
set_title_pages()
A
43 12 49
setup_data()
A
43 12 47
get_page_template()
A
49 12 29
_maybe_redirect_courses_page()
A
49 12 28
page_current()
A
55 10 19
get_page_templates()
A
48 7 32
maybe_redirect_quiz()
S
56 6 19
template_loader()
S
57 6 18
auto_shortcode()
S
57 5 16
check_pages()
S
57 5 16
_is_archive()
S
77 5 3
remove_course_post_format()
S
66 4 8
the_content_callback()
S
61 3 13
is_page_become_a_teacher()
S
68 3 7
instance()
S
67 3 9
lp_desc_item_yoast_seo()
S
64 3 10
page_title()
S
68 2 7
_is_single()
S
79 2 3
__construct()
S
58 1 14
archive_content()
S
74 1 5
page_template_hierarchy()
S
76 1 4
template_content_item()
S
72 1 5
is_404()
S
79 1 3