Code Analysis: Rishi Checkout for WooCommerce 1.0.5

Function Rating Maintainability Complexity Lines of code
WC_Checkout_PRO\Api\Customer::process_woocommerce_fields()
B
40 22 55
WC_Checkout_PRO\Api\Customer::payment()
B
36 17 76
WC_Checkout_PRO\Connection\Handler::handle_connect_callback()
A
39 13 61
WC_Checkout_PRO\Rishi\Api::create_key()
A
41 9 60
WC_Checkout_PRO\Features\Reset_Password\Main::validate_instant_login()
A
47 10 33
WC_Checkout_PRO\Api\Endpoints::add_endpoints()
A
34 1 142
WC_Checkout_PRO\Api\Checkout\Cart::get_cart_items()
A
52 8 21
WC_Checkout_PRO\Features\Settings::get_pagseguro_args()
A
49 7 33
WC_Checkout_PRO\Admin\Settings::generate_rishi_connection_html()
S
40 4 71
WC_Checkout_PRO\Features\Settings::get_woo_moip_official_args()
S
56 7 16
Helpers::get_state()
S
44 4 41
WC_Checkout_PRO\Api\Checkout\Shipping::get_shipping_methods()
S
47 3 42
WC_Checkout_PRO\Api\Customer::get_customer_data()
S
52 4 25
WC_Checkout_PRO\Connection\Handler::handle_connect()
S
53 4 22
WC_Checkout_PRO\Api\Guest::check_user_email()
S
49 3 34
WC_Checkout_PRO\Frontend\Templates::custom_template()
S
64 5 9
WC_Checkout_PRO\Api\Checkout\Shipping::get_delivery_time()
S
62 4 12
WC_Checkout_PRO\Frontend\Templates::clear_checkout()
S
62 4 11
WC_Checkout_PRO\Connection\Handler::route()
S
62 4 11
WC_Checkout_PRO\Api\Guest::authenticate()
S
52 3 25
WC_Checkout_PRO\Frontend\Templates::register_scripts()
S
56 3 21
WC_Checkout_PRO\Api\Customer::add_coupon_code()
S
55 3 20
WC_Checkout_PRO\Api\Checkout\Shipping::get_shipping_methods_list()
S
56 3 19
WC_Checkout_PRO\Api\Endpoints::refresh_tokens()
S
71 4 5
WC_Checkout_PRO\WC_Api\Settings::update_checkout_settings()
S
59 3 15
WC_Checkout_PRO\Rishi\Api::set_installation_hash()
S
61 3 11
WC_Checkout_PRO\Api\Customer::esc_fields()
S
63 3 11
WC_Checkout_PRO\Admin\Settings::handle_connection()
S
63 3 11
WCCP\Features\Reset_Password\Email::trigger()
S
62 3 11
WCCP\Features\Reset_Password\Email::init_form_fields()
S
49 1 36
WC_Checkout_PRO\Api\Customer::remove_coupon_code()
S
55 2 20
WC_Checkout_PRO\Rishi\Rishi::get_shop_domain()
S
66 3 8
rishi_clean()
S
68 3 7
WC_Checkout_PRO\Rishi\Api::get_key()
S
62 2 12
WC_Checkout_PRO\Api\Checkout\Cart::get_coupons()
S
62 2 11
WC_Checkout_PRO\Features\Reset_Password\Email_Styles::add_css()
S
56 1 23
WCCP\Features\Reset_Password\Email::__construct()
S
56 1 18
WC_Checkout_PRO\Api\Customer::get_user_nonce()
S
65 2 9
WC_Checkout_PRO\Features\Settings::get_woo_mercado_pago_custom_args()
S
65 2 9
WC_Checkout_PRO\Rishi\Rishi::get_admin_first_name()
S
68 2 7
WC_Checkout_PRO\Rishi\Rishi::get_admin_last_name()
S
68 2 7
WC_Checkout_PRO\Connection\Handler::request_installation_hash()
S
67 2 8
Payment_Response::add_order_to_response()
S
64 2 10
WC_Checkout_PRO::get_instance()
S
72 2 6
WC_Checkout_PRO\Api\Customer::get_fee()
S
69 2 6
WC_Checkout_PRO\Rishi\Api::revoke_key()
S
67 2 7
WC_Checkout_PRO\Features\Reset_Password\Hooks::include_emails()
S
69 2 6
WC_Checkout_PRO\Features\Reset_Password\Main::send_secret_link()
S
65 2 9
WC_Checkout_PRO\Api\Endpoints::plugin_installed_response()
S
63 2 10
WC_Checkout_PRO\Rishi\Rishi::get_admin_email()
S
67 2 8
WC_Checkout_PRO\Features\Settings::__call()
S
69 2 7
WC_Checkout_PRO\Api\Checkout\Cart::get_cart_data()
S
61 1 13
WC_Checkout_PRO\Api\Guest::register_user()
S
61 1 13
WC_Checkout_PRO\Features\Settings::get_juno_credit_card_args()
S
60 1 13
WC_Checkout_PRO\Features\Settings::get_pagarme_credit_card_args()
S
62 1 12
WC_Checkout_PRO\Integrations\WC::init()
S
62 1 12
WCCP\Features\Reset_Password\Email::get_content_html()
S
62 1 11
WC_Checkout_PRO\WC_Api\Settings::add_endpoints()
S
64 1 11
WC_Checkout_PRO\Rishi\Rishi::delete_public_api_key()
S
81 1 3
WC_Checkout_PRO\Rishi\Rishi::get_connect_url()
S
68 1 7
WC_Checkout_PRO\Rishi\Api::set_connection_status()
S
79 1 3
WC_Checkout_PRO\Api\Customer::format_messages()
S
67 1 8
WC_Checkout_PRO\Features\Settings::get_cheque_args()
S
72 1 6
WC_Checkout_PRO\Features\Settings::get_cod_args()
S
72 1 6
WC_Checkout_PRO\Api\Endpoints::is_logged_in()
S
81 1 3
WC_Checkout_PRO\Api\Checkout\Shipping::get_total()
S
81 1 3
WC_Checkout_PRO\Api\Customer::__construct()
S
77 1 4
WC_Checkout_PRO\Features\Settings::get_paypal_args()
S
71 1 6
WC_Checkout_PRO\Admin\Settings::__construct()
S
66 1 8
WC_Checkout_PRO\Rishi\Rishi::set_shop_id()
S
80 1 3
WC_Checkout_PRO\Features\Settings::get_pagarme_banking_ticket_args()
S
72 1 6
WC_Checkout_PRO\Api\Guest::reset_password()
S
65 1 9
WC_Checkout_PRO\Features\Settings::get_woo_mercado_pago_ticket_args()
S
71 1 6
WC_Checkout_PRO\Rishi\Api::get_connect_endpoint()
S
80 1 3
WC_Checkout_PRO\Rishi\Rishi::set_public_api_key()
S
80 1 3
WC_Checkout_PRO::get_main_file()
S
81 1 3
WC_Checkout_PRO\Rishi\Rishi::get_sign_in_url()
S
81 1 3
WC_Checkout_PRO\Api\Customer::get_shipping_methods()
S
80 1 3
WC_Checkout_PRO::get_templates_path()
S
79 1 3
WC_Checkout_PRO\Rishi\Rishi::get_callback_url()
S
71 1 6
WCCP\Features\Reset_Password\Email::get_email_type()
S
82 1 3
WC_Checkout_PRO\Rishi\Rishi::delete_shop_id()
S
81 1 3
WC_Checkout_PRO::includes()
S
63 1 10
WC_Checkout_PRO\Features\Settings::get_itau_shopline_args()
S
71 1 6
WC_Checkout_PRO\Rishi\Rishi::get_hostname()
S
79 1 3
WC_Checkout_PRO\Admin\Init::add_settings_link()
S
67 1 7
WC_Checkout_PRO\Connection\Handler::__construct()
S
79 1 3
WC_Checkout_PRO\Frontend\Templates::__construct()
S
75 1 4
WC_Checkout_PRO\WC_Api\Settings::is_admin_auth()
S
80 1 3
WC_Checkout_PRO::plugin_dir_url()
S
80 1 3
WC_Checkout_PRO::__construct()
S
83 1 3
Helpers::sanitize_postcode()
S
78 1 3
WC_Checkout_PRO\Api\Guest::get_rest_nonce()
S
77 1 4
WC_Checkout_PRO\Api\Endpoints::__construct()
S
75 1 4
WC_Checkout_PRO\Rishi\Api::get_installation_hash()
S
76 1 4
WC_Checkout_PRO\Rishi\Api::get_connect_hash_endpoint()
S
70 1 6
WC_Checkout_PRO\Frontend\Templates::print_checkout_script()
S
81 1 3
WC_Checkout_PRO\Features\Reset_Password\Main::__construct()
S
81 1 3
WC_Checkout_PRO::woocommerce_missing_notice()
S
74 1 4
WC_Checkout_PRO\Integrations\WC::__construct()
S
100 1 2
WC_Checkout_PRO\Rishi\Rishi::get_api_hostname()
S
78 1 3
WC_Checkout_PRO\Rishi\Rishi::get_shop_id()
S
80 1 3
WCCP\Features\Reset_Password\Email::get_wccp_login_button()
S
70 1 6
WC_Checkout_PRO\Rishi\Api::set_key_id()
S
80 1 3
WC_Checkout_PRO\Rishi\Rishi::get_settings_url()
S
80 1 3
WC_Checkout_PRO\Rishi\Api::get_connection_status()
S
80 1 3
rishi()
S
80 1 3
WC_Checkout_PRO\Rishi\Api::delete_installation_hash()
S
77 1 4
WC_Checkout_PRO\WC_Api\Settings::__construct()
S
79 1 3
WCCP\Features\Reset_Password\Email::is_enabled()
S
82 1 3
wc_checkout_pro_uninstall()
S
67 1 7
WC_Checkout_PRO::get_plugin_path()
S
80 1 3
rishi_api()
S
80 1 3
WC_Checkout_PRO\Features\Reset_Password\Helpers::save_login_link()
S
63 1 9
wc_checkout_pro_install()
S
80 1 3
Payment_Response::__construct()
S
78 1 3
WC_Checkout_PRO\Admin\Init::register_integration()
S
77 1 4
WC_Checkout_PRO\Admin\Settings::init_form_fields()
S
67 1 8
WC_Checkout_PRO::plugin_url()
S
78 1 3
WC_Checkout_PRO\Features\Reset_Password\Hooks::__construct()
S
67 1 7
WC_Checkout_PRO\Features\Settings::get_bacs_args()
S
71 1 6
WC_Checkout_PRO\Features\Reset_Password\Main::trigger_email()
S
82 1 3
WC_Checkout_PRO\Features\Settings::get_juno_bank_slip_args()
S
71 1 6
WC_Checkout_PRO\Features\Reset_Password\Main::get_user()
S
75 1 4
WC_Checkout_PRO\Rishi\Rishi::get_documentation_url()
S
82 1 3
WC_Checkout_PRO\Rishi\Rishi::get_app_endpoint()
S
77 1 3
WC_Checkout_PRO\Admin\Init::__construct()
S
69 1 7
WC_Checkout_PRO\Rishi\Api::get_key_id()
S
80 1 3
WC_Checkout_PRO\Rishi\Rishi::get_app_hostname()
S
78 1 3
WC_Checkout_PRO\Integrations\WC::wp_die_ajax_handler()
S
81 1 3