LP_Page_Controller D

Total Complexity 201
Dependencies 21
Dependents 9
Total lines 1,290
Lines of code 696
Logical lines of code 452
Comment lines 405
Methods 34
Properties 2

Methods 34

Method Rating Maintainability Complexity Lines of code
pre_get_posts()
D
26
31 160
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 42
get_page_template()
A
50 10 29
get_page_templates()
A
48 7 32
is_page_courses()
S
52 7 25
check_webhook_paypal_ipn()
S
52 7 24
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
55 2 18
lp_desc_item_yoast_seo()
S
64 3 10
link_archive_course()
S
70 3 6
is_page_profile()
S
67 2 8
is_page_instructors()
S
67 2 8
instance()
S
71 2 6
page_title()
S
68 2 7
_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