Code Analysis: Wbcom Designs - BuddyPress Group Reviews 3.4.0

Function Rating Maintainability Complexity Lines of code
bgr_review_widget::widget()
D
25
30 170
BGR_AJAX::bgr_submit_review()
C
26
27 149
bgr_review_globals()
C
32 28 103
bgr_single_group_rating_widget::widget()
C
28
22 147
BGR_AJAX::bgr_reviews_filter()
C
28
22 134
bgr_emails_setting()
C
29
16 184
bgr_general_setting()
B
28
16 173
BGR_AJAX::bgr_filter_ratings()
B
32 19 103
BGRScriptsStyles::bgr_custom_variables()
B
39 21 53
Group_Reviews_Management_Extn::edit_screen()
B
31 13 137
BGR_Custom_Hooks::bgr_add_groups_reviews_tab()
B
34 14 97
BGR_AJAX::bgr_save_admin_general_settings()
B
45 17 35
BGRScriptsStyles::bgr_admin_custom_variables()
A
42 16 43
BGR_AJAX::bgr_deny_review()
A
38 14 67
BGR_Notifications::bgr_mark_group_notification_as_read()
A
45 15 43
BGR_Custom_Hooks::bgr_group_average_rating_data()
A
40 14 57
BGR_Custom_Hooks::bgr_single_group_average_rating_data()
A
41 14 57
BGR_AJAX::bgr_accept_review()
A
38 13 67
bp_group_reviews_activation_redirect_settings()
A
57 16 13
BGR_Activity::bgr_create_group_post_activity_after_approval()
A
41 13 51
Wbcom_Admin_Settings::wbcom_enqueue_admin_scripts()
A
44 12 42
BGR_Shortcodes::add_new_review()
A
37 8 82
BGR_Activity::bgr_create_group_post_activity()
A
42 10 48
Group_Reviews_Management_Extn::__construct()
A
39 8 77
Buddypress_Group_Review_Multi_Support::bp_group_review_multisite_activation()
A
49 11 29
BGR_Admin_Feedback::display_admin_notice()
A
37 3 128
BGR_AJAX::bgr_save_admin_display_settings()
A
53 10 20
BGR_AJAX::bgr_save_admin_criteria_settings()
A
53 9 20
BGR_Custom_Hooks::bgr_group_header_review_btn()
A
47 8 35
bgr_format_notifications()
A
53 8 24
BGR_AJAX::bgr_admin_approve_review()
A
53 8 19
BGR_Rating_Display::bgr_display_star_rating()
A
50 7 31
BGR_Shortcodes::bgr_display_form_star_rating()
S
46 6 45
BGR_Activity::bgr_added_activity_star_rating()
S
49 7 29
BGR_Shortcodes::bgr_review_form()
S
43 5 53
bgr_review_widget::form()
S
42 4 63
Wbcom_Admin_Settings::wbcom_admin_setting_header_html()
S
46 5 44
BGR_Custom_Hooks::__construct()
S
50 6 26
BGR_Admin::bgr_admin_options_page()
S
43 4 55
BGR_Rating_Display::bgr_select_rating_type()
S
53 6 24
BGR_Admin::bgr_get_review_count()
S
54 6 21
bgr_include_admin_setting_tabs()
S
56 6 21
BGR_Custom_Hooks::bgr_group_reviews_row_actions()
S
52 6 20
BGR_Notifications::bgr_add_review_notification_format()
S
47 5 32
Wbcom_Admin_Settings::wbcom_addons_cards_links()
S
62 7 9
BGR_AJAX::bgr_remove_review()
S
59 6 13
bgr_criteria_setting()
S
48 4 41
BGR_Admin::bgr_recursive_array_search()
S
59 5 15
BGR_Admin_Feedback::set_no_bug()
S
67 6 6
Wbcom_Admin_Settings::wbcom_is_plugin_active()
S
59 5 13
BGR_Notifications::bgr_deny_review_notification_format()
S
50 4 26
BGR_Notifications::bgr_accept_review_notification_format()
S
51 4 25
run_bp_group_reviews_plugin()
S
54 4 23
bgr_admin_notice()
S
56 4 17
BGR_Rating_Display::bgr_average_star_rating()
S
60 4 17
bgr_remove_add_review_tab_exclude_on_option()
S
60 4 15
Wbcom_Admin_Settings::wbcom_is_plugin_installed()
S
60 4 13
BGR_Custom_Hooks::bgr_group_directory_rating()
S
51 3 28
BGR_Custom_Hooks::bgr_group_average_rating()
S
51 3 28
BGR_Custom_Hooks::buddypress_groups_review_get_nav_count()
S
53 3 24
bgr_display_setting()
S
46 1 51
bgr_single_group_rating_widget::form()
S
49 2 35
BGR_Admin::bgr_add_capabilities_to_roles()
S
57 3 17
BGR_Admin::bgr_review_cpt()
S
44 1 47
BGR_Admin_Feedback::check_installation_date()
S
64 4 9
BGR_Custom_Hooks::bgr_group_reviews_tab_template()
S
64 4 8
Wbcom_Admin_Settings::wbcom_plugin_status()
S
64 3 11
BGR_Custom_Hooks::bgr_group_add_reviews_tab_template()
S
58 2 20
BGR_Rating_Display::bgr_widget_average_ratings()
S
55 2 19
BGR_Notifications::bgr_accept_review_notification()
S
56 2 18
BGR_Notifications::bgr_deny_review_notification()
S
56 2 18
BGR_Notifications::bgr_add_review_notification()
S
57 2 17
Wbcom_Admin_Settings::get_wp_repo_download_url()
S
58 2 16
BGR_Custom_Hooks::bgr_add_groups_reviews_taxonomy_term()
S
70 3 6
BGR_Admin::wbcom_hide_all_admin_notices_from_setting_page()
S
65 3 8
BGR_Rating_Display::bgr_group_average_ratings()
S
59 2 15
BGR_Custom_Hooks::buddypress_groups_review_nav_has_count()
S
63 3 10
bgr_plugin_init()
S
62 3 10
bgr_requires_buddypress()
S
69 3 6
BGR_Activity::bgr_register_activity_actions()
S
61 2 14
BGR_Admin_Feedback::__construct()
S
60 2 13
BGR_Admin::__construct()
S
62 2 11
Wbcom_Admin_Settings::wbcom_admin_additional_pages()
S
54 1 26
BGR_Admin::bgr_review_taxonomy_cpt()
S
52 1 24
BGR_AJAX::__construct()
S
54 1 21
BGR_Custom_Hooks::bgr_group_add_review_tab()
S
64 2 9
bp_group_reviews_do_activation_redirect()
S
72 2 6
BGR_Custom_Hooks::bgr_group_reviews_tab()
S
64 2 9
bgr_group_add_review_tab_name()
S
71 2 5
BGR_Custom_Hooks::buddypress_groups_review_trigger_get_user_id()
S
71 2 6
BGR_Admin::bgr_add_submenu_page_admin_settings()
S
66 2 7
BGR_Shortcodes::bgr_display_star()
S
64 2 10
Wbcom_Admin_Settings::wbcom_themes_submenu_page_callback()
S
68 2 7
BGR_Activity::instance()
S
72 2 6
Buddypress_Group_Review_Multi_Support::instance()
S
72 2 6
bgr_group_review_tab_slug()
S
71 2 5
Wbcom_Admin_Settings::wbcom_plugins_submenu_page_callback()
S
68 2 7
bgr_group_review_tab_name()
S
71 2 5
Wbcom_Admin_Settings::wbcom_support_submenu_page_callback()
S
68 2 7
BGR_Activity::bpmb_pro_group_create_posts_activity_action()
S
60 1 12
bgr_single_group_rating_widget::__construct()
S
63 1 11
bgr_review_widget::__construct()
S
63 1 11
Wbcom_Admin_Settings::upgrade_plugin()
S
68 1 7
bgr_single_group_rating_widget::update()
S
68 1 7
BGR_Shortcodes::bgr_display_form_rating()
S
77 1 4
BGR_Shortcodes::__construct()
S
78 1 3
BGRScriptsStyles::__construct()
S
75 1 4
BGR_Custom_Hooks::bgr_remove_edit_bulk_actions()
S
76 1 4
bgr_bp_notifications_for_review()
S
73 1 5
bgr_dynamic_rating_method()
S
65 1 10
Wbcom_Admin_Settings::__construct()
S
69 1 6
BGR_Notifications::setup_actions()
S
67 1 7
bgr_review_widget::update()
S
67 1 8
bp_group_review_save_email_settigs()
S
81 1 3
Group_Reviews_Management_Extn::add_custom_pagination_query_vars()
S
74 1 5
Wbcom_Admin_Settings::get_download_url()
S
80 1 3
Buddypress_Group_Review_Multi_Support::__construct()
S
82 1 3
BGR_Notifications::setup_globals()
S
67 1 9
BGR_Custom_Hooks::buddypress_groups_review_bp_activity_triggers()
S
70 1 6
BGR_Activity::init_hooks()
S
68 1 6
Buddypress_Group_Review_Multi_Support::bp_group_review_show_buddypress_root_blog_notice()
S
67 1 8
Buddypress_Group_Review_Multi_Support::init_hooks()
S
79 1 3
bgr_include_files_bp()
S
83 1 3
bgr_review_register_widget()
S
82 1 3
Buddypress_Group_Review_Multi_Support::bp_group_review_show_buddypress_required_notice()
S
67 1 8
instantiate_wbcom_plugin_manager()
S
83 1 3
bgr_admin_page_link()
S
73 1 4
bgr_group_rating_register_widget()
S
82 1 3
bgr_admin_group_notice()
S
72 1 7
BGR_Rating_Display::__construct()
S
72 1 5
BGR_Notifications::component_name()
S
82 1 3
BGR_Activity::__construct()
S
82 1 3
Buddypress_Group_Review_Multi_Support::bp_group_review_show_bp_root_blog_notice()
S
67 1 8
bgr_load_textdomain()
S
68 1 6
BGR_Notifications::__construct()
S
66 1 9
bgr_add_multi_support()
S
83 1 3