Code Analysis: Photo Reviews for WooCommerce 1.2.19

Function Rating Maintainability Complexity Lines of code
VI_WOO_PHOTO_REVIEWS_Admin_Admin::settings_page()
D
1
51 1,162
VI_WOO_PHOTO_REVIEWS_Admin_Admin::save_settings()
D
22
72 124
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::viwcpr_restrict_number_of_reviews()
D
28
37 124
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::end_ob()
D
25
33 164
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::coupon_for_not_logged_in()
C
32 27 106
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::send_coupon_after_reviews()
C
32 26 108
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::follow_up_email()
C
30 21 128
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::check_upload_file()
B
38 23 60
VillaTheme_Support::get_ads_data()
B
40 21 54
VillaTheme_Support::page_callback()
B
38 16 89
VI_WOO_PHOTO_REVIEWS_Admin_Admin::preview_emails_ajax()
B
32 15 104
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::check_review_image()
B
45 18 33
VI_WOO_PHOTO_REVIEWS_Admin_Admin::admin_enqueue()
B
33 13 95
VI_WOO_PHOTO_REVIEWS_Frontend_Single_Page::frontend_enqueue()
B
35 14 77
VI_WOO_PHOTO_REVIEWS_Frontend_Single_Page::overall_rating_and_filter_html()
A
35 11 89
VillaTheme_Require_Environment::check()
A
48 15 28
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::upload_file()
A
40 12 62
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::parse_comment_query1()
A
44 13 47
VI_WOO_PHOTO_REVIEWS_Admin_Admin::status()
A
42 12 61
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::filter_reviews()
A
49 14 29
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::parse_comment_query()
A
44 12 50
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::generate_coupon()
A
44 12 41
VillaTheme_Support::plugin_information()
A
42 11 54
VI_WOO_PHOTO_REVIEWS_Admin_Admin::search_product()
A
42 11 51
VI_WOO_PHOTO_REVIEWS_Admin_Admin::column_callback()
A
47 11 36
VI_WOO_PHOTO_REVIEWS_Admin_Admin::search_coupon()
A
44 10 45
VI_WOO_PHOTO_REVIEWS_Admin_Admin::plupload_default_params()
A
57 12 14
VillaTheme_Support::get_data()
A
46 10 38
VillaTheme_Support::scripts()
A
38 6 97
VI_WOO_PHOTO_REVIEWS_Admin_Admin::update_data()
A
47 10 36
VillaTheme_Support::review_notice()
A
44 9 48
VI_WOO_PHOTO_REVIEWS_DATA::__construct()
A
32 4 118
vi_include_folder()
A
51 10 26
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::__construct()
A
46 9 34
VillaTheme_Support::remote_get()
A
44 8 47
VillaTheme_Support::hide_notices()
A
49 9 30
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::send_schedule_email()
A
38 6 71
VI_WOO_PHOTO_REVIEWS_Admin_Admin::search_cate()
A
48 8 34
VI_WOO_PHOTO_REVIEWS_Admin_Admin::add_meta_box_photo_callback()
A
45 7 48
VI_WOO_PHOTO_REVIEWS_Admin_Admin::preview_emails_button()
A
51 8 27
VI_WOO_PHOTO_REVIEWS_Admin_Admin::search_parent_product()
A
49 7 31
VillaTheme_Support::villatheme_support()
S
44 5 57
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::get_comment_link()
S
53 7 23
VillaTheme_Support::hide_review_notice()
S
53 7 21
VI_WOO_PHOTO_REVIEWS_Admin_Admin::save_comment_meta()
S
56 7 16
villatheme_array_flatten()
S
60 7 13
VillaTheme_Support::form_ads()
S
47 5 43
VillaTheme_Require_Environment::notice()
S
51 6 28
VI_WOO_PHOTO_REVIEWS_DATA::get_params()
S
56 6 19
VI_WOO_PHOTO_REVIEWS_Admin_Admin::delete_attachment()
S
55 6 18
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::add_review_image()
S
56 6 16
VI_WOO_PHOTO_REVIEWS_Admin_Admin::preview_emails_html()
S
58 6 15
VI_WOO_PHOTO_REVIEWS_Admin_Admin::reduce_image_sizes_for_media_upload()
S
58 6 14
VillaTheme_Support::add_toolbar()
S
52 5 25
VI_WOO_PHOTO_REVIEWS_Frontend_Single_Page::__construct()
S
51 5 24
VillaTheme_Support::deactivate_scripts()
S
49 4 37
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::notify_coupon_sent()
S
56 5 18
VI_WOO_PHOTO_REVIEWS_DATA::get_default()
S
58 5 17
VI_WOO_PHOTO_REVIEWS_Admin_Admin::add_image_size()
S
58 5 15
VI_WOO_PHOTO_REVIEWS_Plugins_Curcy::viwcpr_reminder_before_get_product_html()
S
59 5 14
VillaTheme_Support::widget()
S
55 4 28
VillaTheme_Support::__construct()
S
51 4 24
VI_WOO_PHOTO_REVIEWS_Admin_Admin::load_plugin_textdomain()
S
52 4 22
VI_WOO_PHOTO_REVIEWS_Plugins_Curcy::viwcpr_reminder_after_get_product_html()
S
63 5 10
VI_WOO_PHOTO_REVIEWS_Frontend_Single_Page::wc_reviews()
S
60 4 14
VI_WOO_PHOTO_REVIEWS_Frontend_Single_Page::quick_view()
S
62 4 12
VI_WOO_PHOTO_REVIEWS_Plugins_Curcy::get_settings()
S
62 4 12
VillaTheme_Support::admin_init()
S
61 4 11
VI_WOO_PHOTO_REVIEWS_Admin_Admin::delete_reviews_image()
S
62 4 11
VI_Woo_Photo_Reviews::init()
S
52 3 25
VillaTheme_Support::admin_menu()
S
55 3 22
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::create_code()
S
56 3 19
VI_WOO_PHOTO_REVIEWS_Frontend_Single_Page::photo_reviews()
S
57 3 17
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::send_email()
S
54 3 17
VillaTheme_Support::get_uninstall_reasons()
S
47 1 47
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::remove_default_reviews()
S
64 4 10
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::add_form_description()
S
66 4 8
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::reduce_image_sizes()
S
60 3 14
VillaTheme_Support::plugin_row_meta()
S
59 3 13
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::add_ajax_events()
S
61 3 12
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::sort_reviews()
S
61 3 12
VI_WOO_PHOTO_REVIEWS_DATA::extend_post_allowed_html()
S
51 1 32
VI_WOO_PHOTO_REVIEWS_Admin_Admin::reduce_image_sizes()
S
65 3 9
VillaTheme_Require_Environment::__construct()
S
58 2 15
VI_WOO_PHOTO_REVIEWS_Plugins_Curcy::get_enable()
S
64 3 10
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::add_form_enctype_start()
S
71 3 6
VI_WOO_PHOTO_REVIEWS_Plugins_Curcy::__construct()
S
66 3 8
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::add_form_enctype_end()
S
66 3 8
VI_Woo_Photo_Reviews::__construct()
S
62 2 13
VI_WOO_PHOTO_REVIEWS_Admin_Admin::__construct()
S
50 1 26
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::stars_count()
S
58 1 17
VI_WOO_PHOTO_REVIEWS_Frontend_Single_Page::viwcpr_get_template_basic_html()
S
67 2 8
VillaTheme_Support::dashboard()
S
65 2 10
woocommerce_version_check()
S
69 2 7
VI_WOO_PHOTO_REVIEWS_Frontend_Single_Page::viwcpr_get_template_masonry_html()
S
67 2 8
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::rand()
S
67 2 7
VI_WOO_PHOTO_REVIEWS_Frontend_Single_Page::viwcpr_get_overall_rating_html()
S
67 2 8
VI_WOO_PHOTO_REVIEWS_Plugins_Curcy::set_current_currency()
S
70 2 6
VillaTheme_Support::link_to_pro()
S
66 2 7
VI_WOO_PHOTO_REVIEWS_Frontend_Single_Page::viwcpr_get_filters_html()
S
67 2 8
VillaTheme_Support::get_plugin_name()
S
73 2 4
VI_WOO_PHOTO_REVIEWS_Admin_Admin::add_columns()
S
67 2 7
VI_Woo_Photo_Reviews::before_woocommerce_init()
S
72 2 5
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::add_comment_field()
S
60 1 14
VI_WOO_PHOTO_REVIEWS_Admin_Admin::add_menu()
S
60 1 14
VI_WOO_PHOTO_REVIEWS_Admin_Admin::wcpr_add_meta_box()
S
67 1 8
VillaTheme_Support::hide_toolbar_button()
S
65 1 9
VI_WOO_PHOTO_REVIEWS_DATA::get_datetime_format()
S
79 1 3
viwcpr_set_time_limit()
S
71 1 6
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::add_image_upload_nonce()
S
80 1 3
VillaTheme_Require_Environment::has_error()
S
80 1 3
VI_WOO_PHOTO_REVIEWS_Admin_Admin::load_photos_in_comment_list()
S
74 1 4
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::fix_get_comment_link()
S
78 1 3
VI_WOO_PHOTO_REVIEWS_DATA::get_date_format()
S
80 1 3
VI_WOO_PHOTO_REVIEWS_Admin_Admin::product_reviews_table_column_callback_wcpr_photos()
S
80 1 3
VI_WOO_PHOTO_REVIEWS_DATA::get_time_format()
S
80 1 3
VI_Woo_Photo_Reviews::settings_link()
S
72 1 5