LP_Page_Controller D

Total Complexity 194
Dependencies 20
Dependents 9
Total lines 1,193
Lines of code 674
Logical lines of code 435
Comment lines 339
Methods 33
Properties 2

Methods 33

Method Rating Maintainability Complexity Lines of code
pre_get_posts()
D
25
31 164
set_title_pages()
A
41 14 54
menu_active()
A
49 13 28
page_current()
A
50 13 27
set_link_item_course_default_wp_to_page_404()
A
46 12 35
setup_data_for_item_course()
A
45 10 41
get_page_template()
A
50 10 29
get_page_templates()
A
48 7 32
is_page_courses()
S
52 7 25
post_type_link()
S
54 7 22
template_loader()
S
56 7 20
learn_press_edit_admin_bar()
S
55 5 19
page_is()
S
56 5 18
auto_shortcode()
S
56 5 17
check_pages()
S
57 5 16
check_x_wp_nonce_cache()
S
67 5 7
_is_archive()
S
77 5 3
remove_course_post_format()
S
66 4 8
edit_lesson_comment_links()
S
61 3 12
is_page_instructor()
S
62 3 12
__construct()
S
56 2 17
link_archive_course()
S
70 3 6
lp_desc_item_yoast_seo()
S
64 3 10
instance()
S
71 2 6
page_title()
S
68 2 7
is_page_instructors()
S
67 2 8
is_page_profile()
S
67 2 8
_is_single()
S
79 2 3
is_page_checkout()
S
79 1 3
is_page_become_a_teacher()
S
79 1 3
archive_content()
S
71 1 6
is_404()
S
79 1 3
set_page_404()
S
74 1 5