LP_Page_Controller D

Total Complexity 197
Dependencies 19
Dependents 5
Total lines 1,244
Lines of code 705
Logical lines of code 462
Comment lines 346
Methods 27
Properties 7

Methods 27

Method Rating Maintainability Complexity Lines of code
pre_get_posts()
D
28
30 125
_load_archive_courses()
D
30 30 116
get_page_template()
B
46 19 33
set_link_item_course_default_wp_to_page_404()
A
46 13 36
set_title_pages()
A
42 12 50
post_type_link()
A
39 9 66
setup_data_for_item_course()
A
45 10 41
page_current()
A
55 10 19
get_page_templates()
A
48 7 32
template_loader()
S
58 6 17
learn_press_edit_admin_bar()
S
55 5 19
auto_shortcode()
S
57 5 16
check_pages()
S
57 5 16
has_block_template()
S
53 4 24
_is_archive()
S
77 5 3
remove_course_post_format()
S
66 4 8
the_content_callback()
S
61 3 13
lp_rest_api_called()
S
68 3 8
lp_desc_item_yoast_seo()
S
64 3 10
is_page_become_a_teacher()
S
68 3 7
instance()
S
67 3 9
_is_single()
S
79 2 3
page_title()
S
68 2 7
__construct()
S
57 1 15
is_404()
S
79 1 3
page_template_hierarchy()
S
76 1 4
archive_content()
S
74 1 5