Code Analysis: LimeLight CRM 1.1.1

Function Rating Maintainability Complexity Lines of code
Limelight::get_google_ecommerce_script()
D
20
40 279
Limelight_Admin::api_get_campaign_data()
C
26
26 164
Limelight::sc_check_out_customer_info()
C
32 27 111
Limelight::api_transact()
C
31 25 113
Limelight_Admin::admin_build_tpl()
C
22
1 461
Limelight::process_check_out_form()
C
27
19 185
Limelight::wpll_process_form()
C
34 23 93
Limelight_Admin::check_creds_set()
B
27
14 206
Limelight_Admin::add_page()
B
33 17 98
Limelight::echo_cart_javascript()
A
33 10 122
Limelight::sc_check_out_summary()
A
34 10 109
Limelight::process_upsell()
A
38 12 67
Limelight::client_build_tpl()
A
31 1 228
Limelight_Admin::api_get_campaign_products()
A
42 12 50
Limelight::__construct()
A
41 12 50
Limelight::sc_single_page_customer_info()
A
39 10 80
Limelight_Admin::api_get_campaigns()
A
45 12 37
Limelight::sc_product_details_page()
A
39 10 66
Limelight_Admin::get_gateways()
A
43 11 47
Limelight::process_3d_verify()
A
36 8 87
Limelight::sc_new_prospect_info_form()
A
44 9 50
Limelight::echo_credit_card_form_fields()
A
36 5 104
Limelight::sc_single_page_shipping_state()
A
49 9 33
Limelight_Admin::get_edigital_products()
A
49 8 29
Limelight_Remove_Category_Base::add_category_rewrite_rules()
A
50 8 26
Limelight::sc_new_prospect_state()
A
49 7 34
Limelight::get_affiliates()
S
47 6 35
Limelight::sc_new_prospect_products()
S
56 7 15
Limelight::create_wordpress_user()
S
49 6 29
Limelight_Admin::limelight_store()
S
38 1 104
Limelight_Admin::create_pages_array()
S
38 1 99
Limelight::sc_cart_page_cart()
S
43 4 53
Limelight::html_attributes_from_shortcode()
S
55 6 20
Limelight::register_shortcodes()
S
35 1 87
Limelight::sc_my_account_form()
S
42 3 56
Limelight::sc_single_page_shipping_country()
S
53 5 25
Limelight_Admin::api_get_product_info()
S
47 4 38
Limelight::membership_handling()
S
53 5 23
Limelight_Admin::create_error_codes_array()
S
52 5 19
Limelight_Admin::limelight_init()
S
41 1 77
Limelight::echo_single_page_javascript()
S
51 4 32
Limelight::get_google_analytic_script()
S
46 3 45
Limelight::build_properties()
S
59 5 14
Limelight_Products_Widget::limelight_widget_products()
S
50 4 28
Limelight::echo_admin_ajax()
S
48 1 68
Limelight::get_order_history_page()
S
52 4 21
Limelight::get_order_history_pagination()
S
55 4 18
Limelight::echo_javascript()
S
50 2 46
Limelight::sc_single_page_products()
S
57 4 15
Limelight::get_line_items()
S
59 4 13
Limelight_Admin::get_upsell_products()
S
59 4 13
Limelight_Admin::get_prospect_product()
S
59 4 13
Limelight::echo_cookie_reset_script()
S
51 2 41
Limelight::sc_user_opt_in()
S
62 4 11
Limelight::sc_single_page_credit_card_month()
S
53 3 24
Limelight::sc_single_page_credit_card_year()
S
53 3 24
Limelight::sc_single_page()
S
53 3 23
Limelight::process_new_prospect_form()
S
47 2 36
Limelight_Admin::limelight_errors()
S
46 2 35
Limelight::api_membership()
S
54 3 20
Limelight::sc_upsell_no_thanks_button()
S
56 3 18
Limelight::sc_order_history_page()
S
56 3 17
Limelight::sc_order_history_button()
S
57 3 17
Limelight::sc_order_details_page()
S
56 3 17
Limelight::sc_order_details_button()
S
57 3 17
Limelight::camelize_field_name_from_shortcode()
S
57 3 17
Limelight::sc_new_prospect_button()
S
57 3 17
Limelight::sc_upsell_submit_button()
S
57 3 17
Limelight::sc_my_account_page()
S
56 3 17
Limelight::sc_my_account_button()
S
57 3 17
Limelight::process_my_account_form()
S
49 2 31
Limelight::sc_check_out_billing_info()
S
59 3 16
Limelight::sc_new_prospect_country()
S
57 3 16
Limelight::sc_single_page_shipping()
S
58 3 15
Limelight_Products_Widget::update()
S
68 4 6
limelight_add_custom_types()
S
69 4 6
Limelight::update_states()
S
59 3 14
Limelight::sc_check_out_return_to_cart()
S
58 3 14
Limelight::sc_shipping()
S
59 3 13
Limelight_Products_Widget::form()
S
51 2 27
Limelight::limelight_login_redirect()
S
61 3 12
Limelight::sc_my_account_delete()
S
61 3 12
Limelight::set_version()
S
62 3 11
Limelight::get_subscriber_orders()
S
62 3 11
Limelight::api_edigital_new_order()
S
52 2 26
Limelight::sc_order_details_form()
S
46 1 38
limelight_products()
S
46 1 38
Limelight::process_order_details_form()
S
54 2 22
Limelight::sc_single_page_credit_card_type()
S
55 2 21
Limelight::sc_single_page_credit_card_number()
S
58 2 17
Limelight::process_order_history_form()
S
58 2 17
Limelight::display_tpl()
S
67 3 7
Limelight_Remove_Category_Base::remove_category_base()
S
65 3 8
Limelight::limelight_user_handling()
S
66 3 8
Limelight_Admin::sanitize()
S
62 3 10
Limelight_Admin::api_check_credentials()
S
59 2 15
Limelight::campaign_change()
S
59 2 14
Limelight::sc_check_out_submit_button()
S
60 2 13
Limelight_Error_Response::get_response_message()
S
61 2 13
Limelight::sc_cart_page()
S
61 2 12
Limelight::sc_upsell_page()
S
61 2 12
Limelight::sc_check_out_page()
S
61 2 12
Limelight_Admin::__construct()
S
61 2 12
Limelight::sc_new_prospect_page()
S
61 2 12
Limelight_Remove_Category_Base::__construct()
S
60 2 12
Limelight::sc_single_page_button()
S
62 2 11
Limelight::sc_cart_page_button()
S
62 2 11
Limelight_Admin::limelight_add_menu()
S
55 1 26
update_thank_you()
S
64 1 22
update_cart()
S
65 1 20
update_check_out()
S
66 1 19
Limelight::sc_single_page_shipping_last_name()
S
66 2 8
Limelight::limelight_get_url()
S
76 2 3
Limelight_Products_Widget::widget()
S
65 2 8
Limelight::sc_single_page_shipping_first_name()
S
65 2 8
Limelight::sc_single_page_credit_card_cvv()
S
68 2 7
Limelight_Remove_Category_Base::redirect_old_category_url()
S
66 2 8
Limelight_Remove_Category_Base::flush_rules()
S
71 2 6
Limelight::build_input()
S
65 2 9
Limelight::sc_new_prospect_product()
S
66 2 8
Limelight::echo_kount_data()
S
60 1 13
Limelight::sc_single_page_billing_info()
S
64 1 13
Limelight::https_enabled_redirect()
S
67 1 12
Limelight::sc_upsell_products()
S
63 1 11
Limelight::limelight_scripts_and_styles()
S
65 1 8
Limelight::sc_error_response()
S
80 1 3
Limelight::require_file()
S
79 1 3
Limelight::sc_store_name()
S
80 1 3
Limelight::get_error_response()
S
76 1 4
Limelight::sc_thank_you_page()
S
81 1 3
Limelight::sc_store_address2()
S
80 1 3
Limelight::sc_cart_page_view_all()
S
64 1 10
Limelight::sc_store_city()
S
80 1 3
Limelight_Admin::display()
S
81 1 3
Limelight::get_api_url()
S
65 1 9
Limelight::sc_edigital()
S
73 1 8
Limelight_Remove_Category_Base::update_query_vars()
S
77 1 4
limelight_prods_widget()
S
82 1 3
Limelight::sc_store_address1()
S
80 1 3
Limelight::define_hooks()
S
82 1 3
Limelight::sc_single_page_shipping_same_as_billing()
S
67 1 8
Limelight::sc_store_zip()
S
80 1 3
Limelight::sc_single_page_billing_section()
S
75 1 4
Limelight::sc_single_page_billing_state()
S
72 1 5
Limelight::build_input_from_shortcode()
S
75 1 4
Limelight::get_label()
S
80 1 3
Limelight_Remove_Category_Base::schedule_flush()
S
80 1 3
Limelight::sc_store_toll_free()
S
80 1 3
Limelight_Error_Response::__construct()
S
73 1 5
Limelight_Remove_Category_Base::on_activation_and_deactivation()
S
82 1 3
Limelight::sc_store_state()
S
80 1 3
Limelight::sc_order_history_form()
S
67 1 9
Limelight_Products_Widget::__construct()
S
69 1 7
Limelight::sc_single_page_billing_country()
S
70 1 6
Limelight_Admin::build_get_gateways_params()
S
68 1 7
Limelight::fill_tpl()
S
79 1 3