CUAR_AbstractPageAddOn B

Total Complexity 93
Dependencies 2
Dependents 1
Total lines 519
Lines of code 332
Logical lines of code 150
Comment lines 31
Methods 46
Properties 8

Methods 46

Method Rating Maintainability Complexity Lines of code
get_max_width_markup()
A
51 10 26
create_default_page()
A
45 8 45
set_page_parameters()
A
51 8 32
print_page()
S
55 4 21
print_page_sidebar()
S
64 4 12
has_page_sidebar()
S
64 4 11
redirect_guests_if_required()
S
71 4 6
print_page_part()
S
58 2 16
add_body_class()
S
66 3 8
get_full_page_path()
S
59 2 14
enable_sidebar()
S
63 2 9
is_accessible_to_current_user()
S
74 2 4
is_currently_displayed()
S
72 2 5
get_page_url()
S
67 2 8
get_page_id()
S
67 2 8
register_page()
S
69 2 7
get_page_shortcode()
S
78 2 3
get_child_pages()
S
67 2 8
get_required_capability()
S
80 1 3
print_page_content()
S
81 1 3
set_page_shortcode()
S
78 1 3
get_addon_name()
S
78 1 3
get_title()
S
100 1 0
register_sidebar()
S
64 1 10
get_label()
S
100 1 0
print_default_widgets()
S
91 1 2
get_sidebar_id()
S
80 1 3
get_default_widget_args()
S
63 1 10
get_hint()
S
100 1 0
get_permalink()
S
82 1 3
print_page_footer()
S
81 1 3
get_priority()
S
82 1 3
get_friendly_taxonomy()
S
82 1 3
print_page_header()
S
81 1 3
get_slug()
S
80 1 3
get_parent_slug()
S
80 1 3
get_menu_order()
S
80 1 3
requires_login()
S
80 1 3
hide_if_logged_in()
S
80 1 3
hide_in_menu()
S
80 1 3
always_include_in_menu()
S
80 1 3
run_addon()
S
66 1 7
get_friendly_post_type()
S
82 1 3
get_page_addon_path()
S
100 1 0
get_type()
S
82 1 3
__construct()
S
80 1 3