Code Analysis: BP Custom Pages 1.1.1

Function Rating Maintainability Complexity Lines of code
bp_custom_pages_rewrite_bp_uri()
A
49 10 29
bp_custom_pages_user_screen_custom_page_content()
S
50 7 27
bp_custom_pages_admin()
S
47 5 41
bp_custom_pages_admin_bar_add()
S
52 6 23
bp_custom_pages_exclude_posts()
S
56 6 19
bp_custom_pages_user_screen_one_content()
S
44 3 57
bp_custom_pages_load_template_filter()
S
54 5 22
bpcp_posts_pagination_count()
S
54 5 20
BP_Custom_Pages_Component::setup_nav()
S
48 4 34
bpcp_pagination()
S
55 3 19
BP_Custom_Pages_Component::setup_globals()
S
56 3 18
bp_custom_pages_directory_setup()
S
67 4 7
bp_custom_pages_get_pagenames()
S
59 3 13
BP_Custom_Pages_Component::includes()
S
63 3 11
BP_Custom_Pages_Component::register_post_types()
S
49 1 33
bppa_add_custom_post_types()
S
70 3 6
bp_custom_pages_activate()
S
66 3 9
bpcp_register_plugins_links()
S
67 2 7
bp_custom_pages_published_limit()
S
64 2 10
bp_custom_pages_add_admin_menu()
S
67 2 7
bp_custom_pages_init()
S
70 2 6
bp_get_custom_pages_slug()
S
72 2 5
in_bpcp_loop()
S
75 2 4
bp_get_custom_pages_root_slug()
S
72 2 5
BP_Custom_Pages_Component::__construct()
S
63 1 11
bp_custom_pages_user_screen_one_title()
S
80 1 3
bpcp_loop_start()
S
73 1 5
BP_Custom_Pages_Component::register_taxonomies()
S
91 1 2
bp_custom_pages_user_screen_custom_page_title()
S
100 1 2
bp_custom_pages_slug()
S
82 1 3
bpcp_loop_end()
S
77 1 4
bp_custom_pages_root_slug()
S
82 1 3
bp_is_pages_component()
S
75 1 4
bp_custom_pages_load_core_component()
S
77 1 4
bp_custom_pages_deactivate()
S
100 1 2
BP_Custom_Pages_Component::setup_actions()
S
81 1 3
bp_custom_pages_subpage_screen()
S
72 1 5
bp_custom_pages_user_screen()
S
70 1 6
bp_custom_pages_get_template_directory()
S
78 1 3