Code Analysis: Wbcom Designs - BuddyPress Group Reviews 3.2.2

Function Rating Maintainability Complexity Lines of code
bgr_review_globals()
D
29 30 146
bgr_review_widget::widget()
D
26
28 170
BGR_AJAX::bgr_submit_review()
C
26
27 149
bgr_single_group_rating_widget::widget()
C
28
22 147
BGR_AJAX::bgr_reviews_filter()
C
28
22 134
bgr_general_setting()
B
28
16 179
BGR_AJAX::bgr_filter_ratings()
B
32 19 103
bgr_emails_setting()
B
30 10 192
BGR_AJAX::bgr_save_admin_general_settings()
B
45 17 35
BGR_AJAX::bgr_deny_review()
A
37 14 71
BGR_Custom_Hooks::bgr_add_groups_reviews_tab()
A
35 12 95
BGR_AJAX::bgr_accept_review()
A
37 13 70
bp_group_reviews_activation_redirect_settings()
A
58 15 13
BGR_Shortcodes::add_new_review()
A
36 10 86
BGR_Admin_Feedback::seconds_to_words()
A
46 13 38
BGR_Custom_Hooks::bgr_single_group_average_rating_data()
A
43 12 52
BGR_Custom_Hooks::bgr_group_average_rating_data()
A
42 12 52
BGR_Shortcodes::bgr_review_form()
A
38 10 80
BGR_Admin_Feedback::display_admin_notice()
A
36 3 129
BGR_Activity::bgr_create_group_post_activity_after_approval()
A
41 8 52
BGR_AJAX::bgr_save_admin_display_settings()
A
53 10 20
BGR_Custom_Hooks::bgr_group_header_review_btn()
A
47 8 37
BGR_AJAX::bgr_save_admin_criteria_settings()
A
53 9 20
bgr_format_notifications()
A
53 8 24
BGRScriptsStyles::bgr_custom_variables()
A
46 7 37
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
BGRScriptsStyles::bgr_admin_custom_variables()
S
48 7 29
BGR_Activity::bgr_added_activity_star_rating()
S
49 7 29
bgr_include_admin_setting_tabs()
S
54 7 24
BGR_Activity::bgr_create_group_post_activity()
S
43 5 49
bgr_review_widget::form()
S
42 4 63
Wbcom_Admin_Settings::wbcom_admin_setting_header_html()
S
46 5 44
BGR_Admin::bgr_admin_options_page()
S
42 4 56
BGR_Rating_Display::bgr_select_rating_type()
S
53 6 24
BGR_Admin::bgr_get_review_count()
S
54 6 21
Wbcom_Admin_Settings::wbcom_addons_cards_links()
S
62 7 9
bgr_criteria_setting()
S
47 4 43
BGR_AJAX::bgr_remove_review()
S
59 6 13
Wbcom_Admin_Settings::wbcom_is_plugin_active()
S
57 5 16
BGR_Admin::bgr_recursive_array_search()
S
59 5 15
BGR_Admin_Feedback::set_no_bug()
S
67 6 6
Wbcom_Admin_Settings::wbcom_enqueue_admin_scripts()
S
51 4 28
BGR_Custom_Hooks::bgr_group_reviews_row_actions()
S
53 4 20
BGR_Rating_Display::bgr_average_star_rating()
S
60 4 17
BGR_Custom_Hooks::bgr_group_average_rating()
S
51 3 28
BGR_Custom_Hooks::bgr_group_directory_rating()
S
51 3 28
Wbcom_Admin_Settings::wbcom_is_plugin_installed()
S
60 4 13
bgr_display_setting()
S
45 1 57
BGR_Notifications::bgr_add_review_notification_format()
S
50 3 26
run_bp_group_reviews_plugin()
S
55 3 22
bgr_single_group_rating_widget::form()
S
49 2 35
BGR_Custom_Hooks::__construct()
S
55 3 19
BGR_Admin_Feedback::check_installation_date()
S
64 4 9
BGR_Custom_Hooks::bgr_group_reviews_tab_template()
S
64 4 8
bgr_admin_notice()
S
59 3 14
Wbcom_Admin_Settings::wbcom_plugin_status()
S
64 3 11
BGR_Admin::bgr_review_cpt()
S
46 1 40
BGR_Custom_Hooks::bgr_group_add_reviews_tab_template()
S
58 2 20
BGR_Notifications::bgr_deny_review_notification_format()
S
55 2 19
BGR_Rating_Display::bgr_widget_average_ratings()
S
55 2 19
BGR_Notifications::bgr_accept_review_notification()
S
57 2 18
BGR_Notifications::bgr_deny_review_notification()
S
57 2 18
BGR_Notifications::bgr_accept_review_notification_format()
S
55 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_Rating_Display::bgr_group_average_ratings()
S
59 2 15
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_requires_buddypress()
S
69 3 6
bgr_plugin_init()
S
64 3 9
BGR_Activity::bgr_register_activity_actions()
S
61 2 14
BGR_Admin_Feedback::__construct()
S
60 2 13
Wbcom_Admin_Settings::wbcom_admin_additional_pages()
S
54 1 26
BGR_Admin::bgr_review_taxonomy_cpt()
S
52 1 24
bgr_shortcode_setting()
S
58 1 24
BGR_AJAX::__construct()
S
54 1 21
BGR_Custom_Hooks::bgr_group_reviews_tab()
S
64 2 9
BGR_Activity::instance()
S
72 2 6
BGR_Custom_Hooks::buddypress_groups_review_trigger_get_user_id()
S
71 2 6
BGR_Shortcodes::bgr_display_star()
S
64 2 10
bgr_group_review_tab_slug()
S
71 2 5
BGR_Admin::__construct()
S
63 2 10
bgr_group_review_tab_name()
S
71 2 5
BGR_Custom_Hooks::bgr_group_add_review_tab()
S
64 2 9
bgr_group_add_review_tab_name()
S
71 2 5
BGR_Admin::bgr_add_submenu_page_admin_settings()
S
66 2 7
bp_group_reviews_do_activation_redirect()
S
72 2 6
BGR_Activity::bpmb_pro_group_create_posts_activity_action()
S
60 1 12
bgr_review_widget::__construct()
S
63 1 11
bgr_single_group_rating_widget::__construct()
S
63 1 11
BGR_Custom_Hooks::bgr_remove_edit_bulk_actions()
S
76 1 4
BGR_Rating_Display::__construct()
S
72 1 5
bgr_admin_group_notice()
S
72 1 7
Wbcom_Admin_Settings::upgrade_plugin()
S
68 1 7
bp_group_review_save_email_settigs()
S
81 1 3
BGR_Custom_Hooks::buddypress_groups_review_bp_activity_triggers()
S
70 1 6
bgr_bp_notifications_for_review()
S
73 1 5
bgr_dynamic_rating_method()
S
65 1 10
BGR_Notifications::setup_globals()
S
67 1 9
BGR_Notifications::setup_actions()
S
69 1 6
BGR_Shortcodes::bgr_display_form_rating()
S
77 1 4
BGR_Shortcodes::__construct()
S
78 1 3
bgr_admin_page_link()
S
73 1 4
Wbcom_Admin_Settings::__construct()
S
69 1 6
Wbcom_Admin_Settings::wbcom_support_submenu_page_callback()
S
82 1 3
bgr_review_register_widget()
S
82 1 3
BGR_Notifications::component_name()
S
82 1 3
BGR_Notifications::__construct()
S
66 1 9
BGRScriptsStyles::__construct()
S
75 1 4
bgr_review_widget::update()
S
67 1 8
Wbcom_Admin_Settings::wbcom_themes_submenu_page_callback()
S
82 1 3
bgr_single_group_rating_widget::update()
S
68 1 7
instantiate_wbcom_plugin_manager()
S
83 1 3
BGR_Activity::init_hooks()
S
68 1 6
Wbcom_Admin_Settings::get_download_url()
S
80 1 3
Wbcom_Admin_Settings::wbcom_plugins_submenu_page_callback()
S
82 1 3
bgr_group_rating_register_widget()
S
82 1 3
bgr_load_textdomain()
S
68 1 6
BGR_Activity::__construct()
S
82 1 3