LP_Page_Controller D

Total Complexity 177
Dependencies 21
Dependents 10
Total lines 1,104
Lines of code 607
Logical lines of code 396
Comment lines 329
Methods 30
Properties 2

Methods 30

Method Rating Maintainability Complexity Lines of code
pre_get_posts()
C
29 23 127
get_page_template()
B
46 19 33
set_link_item_course_default_wp_to_page_404()
A
46 12 35
set_title_pages()
A
43 11 49
page_current()
A
52 12 23
setup_data_for_item_course()
A
45 10 41
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
53 7 23
template_loader()
S
58 6 17
learn_press_edit_admin_bar()
S
55 5 19
check_pages()
S
57 5 16
auto_shortcode()
S
57 5 16
has_block_template()
S
53 4 24
check_x_wp_nonce_cache()
S
67 5 7
_is_archive()
S
77 5 3
remove_course_post_format()
S
66 4 8
page_is()
S
60 3 13
__construct()
S
55 2 18
link_archive_course()
S
70 3 6
lp_desc_item_yoast_seo()
S
64 3 10
page_title()
S
68 2 7
_is_single()
S
79 2 3
is_page_profile()
S
67 2 8
instance()
S
71 2 6
archive_content()
S
74 1 5
is_page_checkout()
S
79 1 3
is_page_become_a_teacher()
S
79 1 3
is_404()
S
79 1 3