Code Analysis: BP Group Reviews 2.2.0

Function Rating Maintainability Complexity Lines of code
bgr_review_widget::widget()
D
26
28 169
bgr_review_globals()
C
33 26 110
bgr_single_group_rating_widget::widget()
C
29 22 130
BGR_AJAX::bgr_reviews_filter()
C
29
20 133
BGR_AJAX::bgr_filter_ratings()
B
32 19 103
Group_Reviews_Management_Extn::edit_screen()
B
32 12 130
BGR_AJAX::bgr_submit_review()
B
34 13 94
bgr_general_setting()
A
33 10 128
Group_Reviews_Management_Extn::__construct()
A
38 12 85
BGR_Admin_Feedback::seconds_to_words()
A
46 13 38
BGR_Custom_Hooks::bgr_single_group_average_rating_data()
A
43 12 49
BGR_Custom_Hooks::bgr_group_average_rating_data()
A
43 12 49
BGR_Shortcodes::bgr_review_form()
A
38 10 79
BGR_Shortcodes::add_new_review()
A
39 9 74
Wbcom_Admin_Settings::wbcom_all_free_plugins()
A
28
1 181
BGR_Admin_Feedback::display_admin_notice()
A
36 3 129
Wbcom_Admin_Settings::wbcom_enqueue_admin_scripts()
A
45 9 39
BGR_Custom_Hooks::bgr_add_groups_reviews_tab()
A
40 7 65
bgr_format_notifications()
A
53 8 24
Wbcom_Admin_Settings::wbcom_admin_setting_header_html()
A
44 6 53
BGR_Custom_Hooks::bgr_group_header_review_btn()
A
49 7 34
BGR_Rating_Display::bgr_display_star_rating()
A
51 7 31
bgr_review_widget::form()
S
43 4 60
BGR_Admin::bgr_get_review_count()
S
54 6 21
BGRScriptsStyles::bgr_admin_custom_variables()
S
54 6 19
BGR_Shortcodes::bgr_display_form_star_rating()
S
51 5 28
bgr_criteria_setting()
S
48 4 42
BGR_Admin::bgr_admin_options_page()
S
47 4 39
Wbcom_Admin_Settings::wbcom_is_plugin_active()
S
57 5 16
BGR_Admin_Feedback::set_no_bug()
S
68 6 6
BGR_Admin::bgr_recursive_array_search()
S
59 5 15
Wbcom_Admin_Settings::wbcom_do_plugin_action()
S
61 5 12
BGR_AJAX::bgr_save_admin_general_settings()
S
52 4 24
BGR_Custom_Hooks::bgr_group_reviews_row_actions()
S
53 4 20
BGR_Rating_Display::bgr_average_star_rating()
S
60 4 17
bgr_include_admin_setting_tabs()
S
61 4 15
Wbcom_Admin_Settings::_get_plugin_file_path_from_slug()
S
60 4 13
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_Notifications::bgr_add_review_notification_format()
S
51 3 26
BGR_AJAX::bgr_deny_review()
S
52 3 24
BGR_AJAX::bgr_accept_review()
S
51 3 24
bgr_single_group_rating_widget::form()
S
49 2 34
BGR_Admin_Feedback::check_installation_date()
S
64 4 9
BGR_AJAX::bgr_save_admin_criteria_settings()
S
58 3 15
BGR_AJAX::bgr_save_admin_display_settings()
S
58 3 15
BGR_AJAX::bgr_admin_approve_review()
S
61 3 12
Wbcom_Admin_Settings::wbcom_plugin_status()
S
64 3 11
Wbcom_Admin_Settings::wbcom_all_paid_plugins()
S
47 1 41
BGR_Admin::bgr_review_cpt()
S
46 1 40
BGR_Notifications::bgr_deny_review_notification_format()
S
55 2 19
BGR_Rating_Display::bgr_widget_average_ratings()
S
56 2 19
bgr_display_setting()
S
50 1 34
run_bp_group_reviews_plugin()
S
57 2 19
BGR_Notifications::bgr_deny_review_notification()
S
57 2 18
Group_Reviews_Management_Extn::display()
S
59 2 18
BGR_Notifications::bgr_accept_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
BGR_Rating_Display::bgr_group_average_ratings()
S
59 2 15
BGR_Custom_Hooks::bgr_group_reviews_tab_template()
S
68 3 7
bgr_plugin_init()
S
62 3 10
BGR_Custom_Hooks::bgr_add_groups_reviews_taxonomy_term()
S
70 3 6
Wbcom_Admin_Settings::wbcom_do_plugin_install()
S
59 2 14
BGR_Admin_Feedback::__construct()
S
60 2 13
BGR_Admin::bgr_review_taxonomy_cpt()
S
52 1 24
BGR_AJAX::__construct()
S
54 1 22
BGRScriptsStyles::bgr_custom_variables()
S
58 1 16
BGR_Admin::bgr_add_submenu_page_admin_settings()
S
66 2 7
BGR_Custom_Hooks::bgr_group_add_review_tab()
S
64 2 9
bgr_requires_buddypress()
S
68 2 7
BGR_Admin::__construct()
S
65 2 9
bgr_admin_notice()
S
63 2 10
Wbcom_Admin_Settings::get_wp_repo_download_url()
S
63 2 10
BGR_Custom_Hooks::bgr_group_reviews_tab()
S
64 2 9
bgr_review_widget::__construct()
S
63 1 11
Wbcom_Admin_Settings::wbcom_admin_additional_pages()
S
62 1 11
bgr_single_group_rating_widget::__construct()
S
63 1 11
BGR_Notifications::__construct()
S
66 1 9
bgr_dynamic_rating_method()
S
65 1 10
Wbcom_Admin_Settings::__construct()
S
69 1 6
BGRScriptsStyles::__construct()
S
75 1 4
bgr_shortcode_setting()
S
70 1 8
Wbcom_Admin_Settings::wbcom_do_plugin_activate()
S
76 1 4
BGR_AJAX::bgr_remove_review()
S
73 1 5
BGR_Rating_Display::bgr_select_rating_type()
S
70 1 6
bgr_bp_notifications_for_review()
S
73 1 5
BGR_Custom_Hooks::__construct()
S
64 1 9
Wbcom_Admin_Settings::wbcom_support_submenu_page_callback()
S
82 1 3
BGR_Notifications::component_name()
S
82 1 3
instantiate_wbcom_plugin_manager()
S
83 1 3
BGR_Rating_Display::__construct()
S
72 1 5
Wbcom_Admin_Settings::wbcom_plugins_submenu_page_callback()
S
82 1 3
Wbcom_Admin_Settings::wbcom_do_plugin_deactivate()
S
76 1 4
BGR_Shortcodes::__construct()
S
79 1 3
Wbcom_Admin_Settings::upgrade_plugin()
S
68 1 7
bgr_admin_page_link()
S
73 1 4
bgr_review_widget::update()
S
67 1 8
BGR_Notifications::setup_globals()
S
67 1 9
BGR_Shortcodes::bgr_display_form_rating()
S
77 1 4
bgr_admin_group_notice()
S
72 1 7
BGR_Custom_Hooks::bgr_remove_edit_bulk_actions()
S
76 1 4
Wbcom_Admin_Settings::get_download_url()
S
80 1 3
bgr_load_textdomain()
S
68 1 6
Wbcom_Admin_Settings::wbcom_themes_submenu_page_callback()
S
82 1 3
bgr_group_rating_register_widget()
S
82 1 3
include_files_bp()
S
83 1 3
bgr_single_group_rating_widget::update()
S
69 1 7
bgr_review_register_widget()
S
82 1 3
BGR_Notifications::setup_actions()
S
69 1 6