Code Analysis: Photo Reviews for WooCommerce 1.1.4.0

Function Rating Maintainability Complexity Lines of code
VI_WOO_PHOTO_REVIEWS_Admin_Admin::settings_page()
D
3
48 1,101
VillaTheme_Mobile_Detect::mobileGrade()
D
34 77 43
VI_WOO_PHOTO_REVIEWS_Admin_Admin::save_settings()
D
23
67 116
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::end_ob()
D
25
31 161
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::check_review_image()
D
35 37 68
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::photo_reviews()
D
27
30 150
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 24 105
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::follow_up_email()
B
31 19 131
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::frontend_enqueue()
B
36 16 76
VI_WOO_PHOTO_REVIEWS_Admin_Admin::preview_emails_ajax()
B
33 14 100
VillaTheme_Support::page_callback()
A
40 14 70
VI_WOO_PHOTO_REVIEWS_Admin_Admin::admin_enqueue()
A
35 12 85
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::__construct()
A
41 13 49
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::parse_comment_query1()
A
44 13 47
VI_WOO_PHOTO_REVIEWS_Admin_Admin::status()
A
42 12 61
VillaTheme_Support::form_ads()
A
41 12 59
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::widget()
A
45 11 46
VillaTheme_Support::get_data()
A
45 11 44
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::filter_reviews()
A
51 12 26
VI_WOO_PHOTO_REVIEWS_Admin_Admin::column_callback()
A
47 11 36
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::wc_reviews()
A
43 10 50
VI_WOO_PHOTO_REVIEWS_Admin_Admin::search_product()
A
43 10 50
VillaTheme_Support::review_notice()
A
44 9 49
VI_WOO_PHOTO_REVIEWS_Admin_Admin::search_coupon()
A
44 9 44
vi_include_folder()
A
51 10 26
VI_WOO_PHOTO_REVIEWS_DATA::__construct()
A
33 4 115
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::add_review_image()
A
43 8 51
VI_WOO_PHOTO_REVIEWS_Admin_Admin::plupload_default_params()
A
60 10 11
VI_WOO_PHOTO_REVIEWS_Admin_Admin::update_data()
A
47 8 36
VI_WOO_PHOTO_REVIEWS_Admin_Admin::add_meta_box_photo_callback()
A
45 7 48
VillaTheme_Mobile_Detect::version()
A
53 8 21
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::send_schedule_email()
A
40 5 62
VillaTheme_Support::hide_notices()
A
56 8 17
VillaTheme_Support::hide_review_notice()
S
52 7 23
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::get_comment_link()
S
53 7 23
VillaTheme_Mobile_Detect::isMobile()
S
55 7 20
VI_WOO_PHOTO_REVIEWS_Admin_Admin::search_cate()
S
49 6 33
VI_WOO_PHOTO_REVIEWS_Admin_Admin::search_parent_product()
S
50 6 30
VI_WOO_PHOTO_REVIEWS_Frontend_Reviews::__construct()
S
61 7 11
VI_WOO_PHOTO_REVIEWS_Admin_Admin::preview_emails_button()
S
53 6 24
VillaTheme_Mobile_Detect::setUserAgent()
S
55 6 20
VI_WOO_PHOTO_REVIEWS_DATA::get_params()
S
56 6 19
VillaTheme_Mobile_Detect::checkHttpHeadersForMobile()
S
57 6 17
VillaTheme_Mobile_Detect::isTablet()
S
58 6 15
VI_WOO_PHOTO_REVIEWS_Admin_Admin::add_image_size()
S
58 6 15
VillaTheme_Support::villatheme_support()
S
47 4 42
VillaTheme_Support::__construct()
S
50 5 26
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::notify_coupon_sent()
S
56 5 18
VI_WOO_PHOTO_REVIEWS_Admin_Admin::delete_attachment()
S
56 5 17
VI_WOO_PHOTO_REVIEWS_DATA::get_default()
S
58 5 17
VillaTheme_Mobile_Detect::setCfHeaders()
S
58 5 14
VI_WOO_PHOTO_REVIEWS_Frontend_Reviews::quick_view()
S
54 4 29
VI_WOO_PHOTO_REVIEWS_Admin_Admin::save_comment_meta()
S
60 5 13
VillaTheme_Mobile_Detect::setHttpHeaders()
S
61 5 12
VI_WOO_PHOTO_REVIEWS_Admin_Admin::reduce_image_sizes_for_media_upload()
S
61 5 11
VI_Woo_Photo_Reviews::load_plugin_textdomain()
S
53 4 21
VillaTheme_Mobile_Detect::getHttpHeader()
S
60 4 13
VillaTheme_Mobile_Detect::matchUAAgainstKey()
S
61 4 13
VI_WOO_PHOTO_REVIEWS_Admin_Admin::preview_emails_html()
S
62 4 12
VillaTheme_Mobile_Detect::matchDetectionRulesAgainstUA()
S
63 4 11
VI_WOO_PHOTO_REVIEWS_Admin_Admin::delete_reviews_image()
S
62 4 11
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::create_code()
S
56 3 19
VillaTheme_Support::wp_remote_get()
S
56 3 18
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::add_form_description()
S
66 4 8
VillaTheme_Mobile_Detect::setDetectionType()
S
66 4 9
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::add_comment_field()
S
60 4 10
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::remove_default_reviews()
S
64 4 10
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::send_email()
S
56 3 15
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::reduce_image_sizes()
S
60 3 14
VillaTheme_Support::admin_menu()
S
60 3 14
VillaTheme_Support::plugin_row_meta()
S
58 3 13
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::sort_reviews()
S
61 3 12
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::add_form_enctype_end()
S
66 3 8
VillaTheme_Mobile_Detect::match()
S
65 3 8
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::add_form_enctype_start()
S
71 3 6
VillaTheme_Mobile_Detect::is()
S
65 3 10
VI_WOO_PHOTO_REVIEWS_Admin_Admin::reduce_image_sizes()
S
65 3 9
VI_WOO_PHOTO_REVIEWS_Admin_Admin::__construct()
S
52 1 23
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::stars_count()
S
58 1 17
VillaTheme_Support::link_to_pro()
S
66 2 7
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::rand()
S
67 2 7
VillaTheme_Mobile_Detect::__call()
S
66 2 8
VillaTheme_Mobile_Detect::getRules()
S
70 2 7
VillaTheme_Mobile_Detect::getMobileDetectionRules()
S
69 2 7
VillaTheme_Support::dashboard()
S
64 2 10
VI_Woo_Photo_Reviews::notification()
S
67 2 9
woocommerce_version_check()
S
69 2 7
VillaTheme_Mobile_Detect::getMobileDetectionRulesExtended()
S
69 2 7
VillaTheme_Mobile_Detect::prepareVersionNo()
S
65 2 8
VI_WOO_PHOTO_REVIEWS_Admin_Admin::add_menu()
S
60 1 14
VillaTheme_Mobile_Detect::getPhoneDevices()
S
80 1 3
VillaTheme_Mobile_Detect::getUtilities()
S
80 1 3
VI_WOO_PHOTO_REVIEWS_DATA::get_time_format()
S
80 1 3
VI_Woo_Photo_Reviews::__construct()
S
65 1 10
VillaTheme_Mobile_Detect::getOperatingSystems()
S
80 1 3
VillaTheme_Mobile_Detect::getProperties()
S
80 1 3
VillaTheme_Mobile_Detect::getMobileHeaders()
S
81 1 3
VillaTheme_Mobile_Detect::getUserAgents()
S
80 1 3
VI_WOO_PHOTO_REVIEWS_DATA::get_date_format()
S
80 1 3
VillaTheme_Mobile_Detect::getCfHeaders()
S
82 1 3
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::fix_get_comment_link()
S
78 1 3
VI_WOO_PHOTO_REVIEWS_Admin_Admin::wcpr_add_meta_box()
S
68 1 8
VillaTheme_Mobile_Detect::getBrowsers()
S
80 1 3
VI_WOO_PHOTO_REVIEWS_Admin_Admin::load_photos_in_comment_list()
S
74 1 4
VI_WOO_PHOTO_REVIEWS_DATA::get_datetime_format()
S
79 1 3
VillaTheme_Mobile_Detect::getUaHttpHeaders()
S
81 1 3
VI_WOO_PHOTO_REVIEWS_Admin_Admin::add_columns()
S
72 1 5
VillaTheme_Mobile_Detect::getTabletDevices()
S
80 1 3
VillaTheme_Support::scripts()
S
78 1 3
VI_Woo_Photo_Reviews::settings_link()
S
71 1 5
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::add_image_upload_nonce()
S
80 1 3
VillaTheme_Mobile_Detect::getUserAgent()
S
82 1 3
VI_WOO_PHOTO_REVIEWS_Frontend_Frontend::remove_action()
S
70 1 6
VillaTheme_Mobile_Detect::getHttpHeaders()
S
82 1 3
VillaTheme_Mobile_Detect::getScriptVersion()
S
80 1 3
VillaTheme_Mobile_Detect::getMatchesArray()
S
82 1 3
VillaTheme_Mobile_Detect::__construct()
S
77 1 4
VillaTheme_Mobile_Detect::getMatchingRegex()
S
82 1 3