Code Analysis: CollabPress 1.3.1.2

Function Rating Maintainability Complexity Lines of code
is_collabpress_page()
C
41 27 50
CP_BP_Group_Extension::map_meta_cap()
B
40 23 55
cp_bp_post_activity_do()
B
33 20 96
cp_draw_calendar()
B
30 16 130
CP_BP_Group_Extension::has_cap_edit()
B
41 20 55
cp_get_tasks()
B
39 17 66
CP_BP_Group_Extension::__construct()
B
38 17 60
cp_output_project_nested_task_lists_and_tasks_html_for_sort()
A
33 10 125
BBG_CPT_Sort::__construct()
A
45 12 43
cp_insert_task()
A
42 11 53
cp_user_notice()
A
51 12 24
cp_bp_get_project_permalink()
A
53 12 20
cp_get_project_permalink()
A
58 12 14
cp_get_task_permalink()
A
58 12 14
cp_widget_overview::widget()
A
45 10 40
cp_screen_icon()
A
52 11 24
BBG_CPT_Sort::setup_get_params()
A
53 11 21
cp_setup_cp_global()
A
46 9 40
presstrends_CollabPress_plugin()
A
42 8 47
CP_BP_Group_Extension::admin_markup()
A
41 6 76
cp_send_email()
A
55 9 19
CP_BP_Group_Extension::render_subnav()
A
51 8 28
cp_bp_filter_group_parent_item()
A
48 7 33
cp_task_comments()
A
43 6 46
cp_load_bp_functions()
S
51 7 23
cp_insert_comment_on_task()
S
42 5 50
CP_BP_Integration::filter_permalinks()
S
58 7 16
cp_project_links()
S
62 8 10
CP_BP_Group_Extension::set_current_view()
S
50 6 28
cp_debug_display_loop()
S
50 6 27
cp_get_options()
S
53 6 23
cp_has_tasks()
S
48 5 37
cp_admin_menu_page_load()
S
55 6 20
CP_BP_Integration::render_settings()
S
43 3 63
CP_BP_Group_Extension::project_perms()
S
57 6 17
CP_BP_Group_Extension::render_project_selector()
S
56 6 16
cp_update()
S
50 5 30
cp_get_url()
S
58 6 13
cp_bp_get_item_ancestry()
S
53 5 23
cp_bp_get_item_permalink()
S
53 5 22
cp_using_shortcode()
S
55 5 20
CP_BP_Group_Extension::calendar_filter_task_query()
S
55 5 19
cp_dismiss_admin_notice()
S
56 5 18
cp_add_activity()
S
56 5 18
BBG_CPT_Sort::the_column_css_class()
S
57 5 17
CP_BP_Group_Extension::settings_save()
S
59 5 14
cp_frontend_querystrings()
S
59 5 14
CP_BP_Group_Extension::filter_canonical_url()
S
60 5 13
cp_update_task()
S
61 5 12
cp_get_calendar_permalink()
S
56 4 18
cp_insert_project()
S
49 3 33
CP_BP_Group_Extension::display()
S
59 4 16
cp_save_task_list_order()
S
57 4 15
cp_bp_make_ancestor()
S
58 4 15
BBG_CPT_Pag::setup_get_params()
S
63 5 10
CP_BP_Integration::get_current_item_obj_data()
S
62 4 12
BBG_CPT_Sort::setup_next_orders()
S
62 4 11
cp_delete_task_handler()
S
51 3 25
cp_has_projects()
S
54 3 22
collabpress_init()
S
48 2 34
cp_has_files()
S
56 3 18
CP_BP_Group_Extension::user_list_html()
S
56 3 17
BBG_CPT_Sort::the_column_next_link()
S
57 3 17
cp_clean_querystring()
S
58 3 16
CP_BP_Group_Extension::set_current_item()
S
58 3 16
cp_check_permissions()
S
63 4 10
cp_overall_links()
S
69 4 6
CP_BP_Group_Extension::enqueue_scripts()
S
71 4 5
CP_BP_Integration::filter_cp_calendar_permalink()
S
63 4 10
CP_BP_Integration::filter_item_link()
S
72 4 5
CP_BP_Group_Extension::enqueue_styles()
S
71 4 5
cp_add_admin_menu_item()
S
58 3 14
cp_project_short()
S
61 3 14
CP_BP_Integration::template_content_loader()
S
60 3 13
BBG_CPT_Sort::setup_base_url()
S
61 3 13
CP_BP_Group_Extension::edit_screen_save()
S
60 3 12
cp_check_project_permissions()
S
62 3 12
BBG_CPT_Sort::the_column_th()
S
61 3 12
cp_bp_get_group_collabpress_slug()
S
62 3 11
CP_BP_Group_Extension::setup_cp_global()
S
62 3 11
cp_filter_permalinks()
S
63 3 11
cp_add_where_for_current_user()
S
63 3 11
cp_add_user_to_project()
S
54 2 26
CP_BP_Integration::__construct()
S
52 2 24
cp_remove_user_from_project()
S
55 2 24
cp_insert_task_list()
S
53 2 24
CP_BP_Integration::setup_nav()
S
55 2 20
cp_admin_init()
S
51 1 34
cp_modify_project_users_handler()
S
57 2 17
CP_BP_Group_Extension::sort_by_display_name_cb()
S
70 3 6
CP_BP_Integration::mark_post_in_group()
S
70 3 6
CP_BP_Integration::enqueue_styles()
S
72 3 5
CP_BP_Integration::do_cp_query()
S
63 3 10
BBG_CPT_Sort::have_columns()
S
73 3 5
BBG_CPT_Pag::paginate_links()
S
58 2 15
cp_get_project_users()
S
60 2 15
cp_compare_tasks_and_task_lists()
S
70 3 6
cp_add_project_ajax_handler()
S
60 2 13
CP_BP_Group_Extension::edit_screen()
S
64 2 11
cp_bp_projects_query_args()
S
53 1 25
collabpress_frontend_scripts()
S
61 1 21
cp_widget_overview::form()
S
57 1 16
CP_BP_Integration::show_tab_for_current_user()
S
74 2 4
CP_BP_Group_Extension::create_screen()
S
71 2 6
cp_get_the_task_description()
S
70 2 7
BBG_CPT_Sort::rewind_columns()
S
71 2 6
BBG_CPT_Sort::the_column()
S
70 2 6
BBG_CPT_Pag::setup_query()
S
68 2 8
CP_BP_Group_Extension::get_group_projects()
S
60 1 15
BBG_CPT_Sort::the_column_title()
S
70 2 7
BBG_CPT_Pag::get_end_number()
S
69 2 7
cp_frontend_init()
S
69 2 6
cp_define_ajaxurl()
S
75 2 5
CP_BP_Integration::register_taxonomies()
S
64 2 9
cp_get_the_task_ID()
S
70 2 7
cp_get_user_assigned_to_task()
S
70 2 6
CP_BP_Group_Extension::add_tax_data_for_new_projects()
S
69 2 6
cp_load_template()
S
70 2 6
cp_get_the_task_due_date()
S
67 2 8
cp_projects()
S
69 2 7
cp_bp()
S
68 2 8
cp_wp_add_dashboard_widgets()
S
69 2 6
cp_get_the_project_title()
S
70 2 7
cp_get_project_id()
S
70 2 7
cp_files()
S
69 2 7
cp_project_permalink()
S
73 2 5
cp_get_project_tasks_permalink()
S
68 2 7
cp_get_tasklist_project_id()
S
65 2 10
cp_get_project_calendar_permalink()
S
68 2 7
cp_get_task_tasklist_id()
S
65 2 10
cp_get_project_users_permalink()
S
68 2 7
cp_limit_length()
S
70 2 6
cp_get_the_task_priority()
S
67 2 8
cp_tasks()
S
69 2 7
cp_activities()
S
69 2 7
cp_get_project_files_permalink()
S
68 2 7
cp_get_project_for_item()
S
69 2 7
cp_maybe_enqueue_styles_and_scripts()
S
78 2 4
BBG_CPT_Pag::currently_viewing_text()
S
64 2 9
CP_BP_Group_Extension::projects_tax_query()
S
65 2 10
cp_user_is_in_project()
S
63 1 13
cp_add_comment_to_task_handler()
S
61 1 13
cp_install()
S
61 1 13
CP_BP_Group_Extension::calendar_display()
S
63 1 12
cp_get_projects_for_user()
S
63 1 12
cp_task_permalink()
S
64 1 11
cp_has_activities()
S
63 1 11
CP_BP_Group_Extension::create_screen_save()
S
73 1 5
CP_BP_Integration::add_cp_to_template_stack()
S
76 1 4
bp_cp_tn_task_completed()
S
80 1 3
cp_project_users_permalink()
S
81 1 3
cp_wp_dashboard_widget_function()
S
83 1 3
cp_set_project_description()
S
79 1 3
cp_bp_get_task_list_permalink()
S
78 1 3
cp_delete_project_handler()
S
66 1 8
cp_enqueue_styles_and_scripts()
S
64 1 9
cp_get_projects_for_current_user()
S
76 1 4
cp_get_sidebar()
S
100 1 8
CP_BP_Integration::get_current_item_task_description()
S
80 1 3
BBG_CPT_Sort::next_column()
S
74 1 5
BBG_CPT_Pag::__construct()
S
79 1 4
cp_get_task_status()
S
79 1 3
cp_get_permalink()
S
78 1 3
cp_task_title()
S
76 1 4
CP_BP_Group_Extension::widget_display()
S
100 1 1
cp_filter_plugin_actions()
S
71 1 5
CP_BP_Group_Extension::calendar_nav_setup()
S
64 1 10
bp_cp_tn_task_list_edited()
S
80 1 3
cp_activity_permalink()
S
81 1 3
bp_cp_tn_task_deleted()
S
80 1 3
bp_cp_tn_task_edited()
S
80 1 3
CP_BP_Integration::get_current_item_task_list_description()
S
80 1 3
bp_cp_tn_task_added()
S
80 1 3
CP_BP_Integration::setup_globals()
S
68 1 8
CP_BP_Integration::get_current_item_project_description()
S
80 1 3
CP_BP_Integration::get_current_item_project_slug()
S
80 1 3
BBG_CPT_Pag::setup_get_keys()
S
75 1 4
cp_add_task_to_task_list()
S
79 1 3
cp_update_task_status_handler()
S
66 1 8
CP_BP_Integration::template_loader()
S
75 1 4
cp_the_task()
S
77 1 4
cp_the_file()
S
77 1 4
cp_get_activity_permalink()
S
73 1 5
CP_BP_Group_Extension::sanitize_current_item_part()
S
75 1 4
cp_get_task_priority()
S
79 1 3
cp_calendar_permalink()
S
81 1 3
BBG_CPT_Sort::bbg_cpt_sort()
S
82 1 3
cp_footer()
S
82 1 3
cp_project_calendar_permalink()
S
81 1 3
BBG_CPT_Pag::get_start_number()
S
75 1 4
CP_BP_Integration::get_current_item_task_name()
S
80 1 3
cp_project_title()
S
76 1 4
cp_get_task_id()
S
78 1 4
cp_widget_overview::cp_widget_overview()
S
68 1 7
cp_bp_get_task_permalink()
S
78 1 3
bp_cp_tn_project_added()
S
80 1 3
cp_get_task_title()
S
78 1 4
cp_add_join_for_project_users_table()
S
72 1 5
cp_register_widgets()
S
82 1 3
cp_widget_overview::update()
S
65 1 9
CP_BP_Integration::get_current_item_task_list_name()
S
80 1 3
cp_project_files_permalink()
S
81 1 3
bp_cp_tn_project_deleted()
S
80 1 3
cp_get_task_project_id()
S
79 1 3
cp_add_new_task_handler()
S
64 1 9
cp_delete_comment_handler()
S
68 1 7
cp_get_project_for_task()
S
79 1 3
cp_help_page()
S
82 1 3
bp_cp_tn_task_list_deleted()
S
80 1 3
cp_attach_new_file_handler()
S
64 1 9
BBG_CPT_Sort::setup_get_keys()
S
75 1 4
CP_BP_Integration::get_current_item_task_list_slug()
S
80 1 3
CP_BP_Integration::get_current_item_task_slug()
S
80 1 3
cp_edit_project_handler()
S
65 1 9
cp_settings_page()
S
82 1 3
cp_task_content()
S
78 1 4
CP_BP_Integration::get_current_item_project_name()
S
80 1 3
cp_edit_task_handler()
S
64 1 9
cp_set_user_preferences_for_displaying_completed_tasks_handler()
S
66 1 8
CP_BP_Group_Extension::_calendar_display_hook()
S
75 1 4
cp_debug_page()
S
82 1 3
CP_BP_Integration::get_current_item_project()
S
80 1 3
CP_BP_Integration::get_current_item_task_list()
S
80 1 3
BBG_CPT_Pag::bbg_cpt_pag()
S
83 1 3
BBG_CPT_Pag::setup_total_items()
S
82 1 3
cp_bp_load_component()
S
77 1 4
collabpress_frontend_styles()
S
82 1 3
cp_translation()
S
78 1 3
cp_permalink()
S
83 1 3
cp_project_tasks_permalink()
S
81 1 3
cp_add_new_task_list_handler()
S
64 1 9
CP_BP_Integration::get_current_item_task()
S
80 1 3
cp_update_task_status()
S
79 1 3
cp_get_task_due_date()
S
79 1 3
BBG_CPT_Pag::setup_total_pages()
S
82 1 3
bp_cp_tn_task_list_added()
S
80 1 3
cp_validate_date()
S
80 1 3
cp_the_project()
S
77 1 4
cp_get_project_description()
S
79 1 3
bp_cp_tn_project_edited()
S
80 1 3
cp_the_activity()
S
77 1 4
bp_cp_tn_task_reopened()
S
80 1 3