Code Analysis: Yotpo Social Reviews for Woocommerce 1.6.5

Function Rating Maintainability Complexity Lines of code
wc_display_yotpo_settings()
C
24
17 220
wc_proccess_yotpo_register()
B
36 22 76
wc_display_yotpo_admin_page()
A
43 15 47
wc_yotpo_get_single_map_data()
A
43 15 39
wc_proccess_yotpo_settings()
A
43 14 45
wc_yotpo_send_past_orders()
A
44 14 41
wc_yotpo_map()
A
48 10 30
wc_yotpo_init()
A
49 8 29
wc_yotpo_front_end_init()
A
50 8 28
wc_yotpo_get_past_orders_legacy()
S
46 6 38
wc_yotpo_get_order_currency()
S
59 7 14
wc_yotpo_get_past_orders()
S
55 6 19
Yotpo::clean_array()
S
61 6 13
get_specs_data()
S
65 6 9
generate_star_ratings_widget_code()
S
60 5 13
wc_display_yotpo_register()
S
50 3 39
wc_yotpo_get_past_orders_crud()
S
53 4 23
wc_yotpo_get_product_data()
S
52 4 22
Yotpo_Review_Export::getAllReviews()
S
47 3 37
fatal_error_handler()
S
51 3 36
Yotpo::create_user()
S
48 3 36
Yotpo::request()
S
55 4 19
Yotpo::set_request_method()
S
57 4 17
ytdbg()
S
56 4 16
Yotpo::get_app_key()
S
64 5 9
wc_yotpo_redirect()
S
66 5 7
wc_yotpo_display_message()
S
63 5 10
wc_yotpo_activation()
S
59 4 13
Yotpo_Review_Export::downloadReviewToBrowser()
S
52 3 26
Yotpo_Review_Export::exportReviews()
S
55 3 20
wc_yotpo_load_js()
S
57 3 16
Yotpo::get()
S
66 4 7
get_yotpo_widget_field_name()
S
65 4 10
star_rating_category_for_v2_or_v3_enabled()
S
74 4 4
Yotpo::get_purchases()
S
61 3 11
wc_yotpo_get_default_settings()
S
49 1 33
v3_product_widgets_render_in_footer()
S
67 3 8
Yotpo::build_request()
S
65 3 9
Yotpo::get_login_url()
S
63 3 10
wc_yotpo_uninstall()
S
70 3 6
v2_render_bottom_line_widgets()
S
65 3 9
generate_reviews_widget_code()
S
65 3 8
wc_yotpo_show_qna_widget()
S
66 3 8
wc_yotpo_show_buttomline()
S
68 3 7
Yotpo::get_product_reviews()
S
60 2 13
wc_yotpo_show_main_widget_in_tab()
S
61 2 12
Yotpo::get_oauth_token()
S
61 2 12
wc_proccess_yotpo_widgets_ids_synchronisation()
S
62 2 11
Yotpo::create_review()
S
56 1 19
wc_yotpo_conversion_track()
S
55 1 19
generate_v2_star_ratings_widget_code()
S
60 1 16
Yotpo_Review_Export::getHeadRowValues()
S
60 1 16
wc_declare_hops_support()
S
71 2 5
wc_yotpo_compatible()
S
77 2 3
wc_yotpo_remove_native_review_system()
S
71 2 6
Yotpo_Review_Export::getFirstWords()
S
65 2 9
Yotpo::__construct()
S
69 2 7
v3_render_bottom_line_widgets()
S
73 2 5
get_widget_instances()
S
66 2 8
Yotpo::update_account()
S
59 1 15
Yotpo::get_product_bottom_line()
S
66 2 8
Yotpo::check_subdomain()
S
64 2 9
Yotpo::set_app_key()
S
74 2 5
Yotpo::set_secret()
S
74 2 5
wc_yotpo_disable_tab_manager_managment()
S
72 2 6
wc_yotpo_show_reviews_widget()
S
71 2 6
wc_yotpo_get_product_image_url()
S
75 2 4
render_bottom_line_widgets()
S
67 2 8
Yotpo::create_purchase()
S
59 1 15
wc_yotpo_admin_styles()
S
67 2 7
generate_v3_reviews_widget_code()
S
60 1 13
generate_v2_reviews_widget_code()
S
60 1 13
generate_v3_qna_widget_code()
S
62 1 11
wc_yotpo_show_widget()
S
83 1 3
wc_yotpo_deactivate()
S
80 1 3
Yotpo_Review_Export::writeHeadRow()
S
79 1 3
Yotpo::prepare_wigdets_request_params()
S
68 1 8
Yotpo::get_widget_instances()
S
75 1 4
Yotpo::put()
S
79 1 3
Yotpo::notify_user_migration()
S
79 1 3
Yotpo::check_if_b2c_user()
S
77 1 3
Yotpo::post()
S
79 1 3
wc_yotpo_admin_settings()
S
74 1 4
receive_widget_instances()
S
71 1 5
Yotpo::create_purchases()
S
70 1 5
Yotpo::create_user_migration()
S
77 1 3
Yotpo::set_request_options()
S
63 1 10
Yotpo::process_response()
S
79 1 3
wc_yotpo_past_order_time_query()
S
74 1 4
Yotpo::create_account_platform()
S
66 1 7
v2_product_widgets_render_in_tabs()
S
80 1 3
Yotpo_Review_Export::writeReview()
S
75 1 4
Yotpo_Review_Export::cleanContent()
S
74 1 4
Yotpo::delete()
S
79 1 3
use_v3_widgets()
S
74 1 4
v2_product_widgets_render_in_footer()
S
80 1 3
wc_yotpo_get_shop_domain()
S
79 1 3
Yotpo::send_test_reminder()
S
71 1 5
generate_v3_star_ratings_widget_code()
S
69 1 7
wc_yotpo_show_qa_bottomline()
S
68 1 7
Yotpo::get_all_bottom_lines()
S
70 1 5