LP_Page_Controller D

Total Complexity 170
Dependencies 13
Dependents 3
Total lines 1,014
Lines of code 530
Logical lines of code 360
Comment lines 319
Methods 25
Properties 7

Methods 25

Method Rating Maintainability Complexity Lines of code
_load_archive_courses()
D
30 30 116
pre_get_posts()
A
49 15 28
set_link_item_course_default_wp_to_page_404()
A
44 14 41
set_title_pages()
A
42 12 50
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
template_loader()
S
57 6 18
check_pages()
S
57 5 16
auto_shortcode()
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
59 1 13
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