LP_Page_Controller D

Total Complexity 176
Dependencies 19
Dependents 5
Total lines 1,080
Lines of code 615
Logical lines of code 398
Comment lines 292
Methods 26
Properties 4

Methods 26

Method Rating Maintainability Complexity Lines of code
pre_get_posts()
D
28
30 125
get_page_template()
B
46 19 33
set_title_pages()
A
42 12 51
set_link_item_course_default_wp_to_page_404()
A
47 13 33
post_type_link()
A
39 10 69
setup_data_for_item_course()
A
45 10 41
page_current()
A
55 10 19
get_page_templates()
A
48 7 32
check_webhook_paypal_ipn()
S
52 7 25
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
check_x_wp_nonce_cache()
S
67 5 7
lp_rest_api_called()
S
59 3 16
remove_course_post_format()
S
66 4 8
is_page_become_a_teacher()
S
68 3 7
instance()
S
67 3 9
lp_desc_item_yoast_seo()
S
64 3 10
__construct()
S
56 1 17
page_title()
S
68 2 7
_is_single()
S
79 2 3
archive_content()
S
74 1 5
is_404()
S
79 1 3