Code Analysis: WooCommerce Propoza 2.1.2

Function Rating Maintainability Complexity Lines of code
Propoza_Quote_Session::get_quote_from_session()
B
36 20 81
Propoza_Quote::get_quote_item_data()
A
44 14 43
WC_REST_Propoza_Controller::add_to_cart()
A
46 12 35
WC_REST_Propoza_Controller::validate_add_to_cart_product()
A
42 10 56
Propoza_Checkout::request_checkout()
A
42 8 58
Propoza_Checkout::add_proposal_coupon()
A
43 7 52
Propoza_Quote::add_product_to_propoza_products()
S
54 7 21
WC_REST_Propoza_Controller::add_items_to_cart()
S
48 6 35
Propoza_Checkout::set_customer_address_fields()
S
61 7 11
Propoza_Quote_Request::get_request_quick_quote_form_html()
S
50 5 29
WC_REST_Propoza_Controller::get_cart()
S
51 5 25
Propoza_Quote_Request::add_request_quote_minicart_button()
S
55 5 20
Propoza_Quote_Request::add_request_quote_button()
S
55 5 20
Propoza::activate()
S
58 5 16
Propoza::deactivate()
S
58 5 16
Propoza_Quote::add_variations_to_propoza_products()
S
58 5 15
Propoza_Checkout::propoza_checkout_template_redirect_intercept()
S
64 6 10
Propoza_Quote::get_prepared_logged_in_user()
S
63 6 9
Propoza::init()
S
53 4 24
Propoza_Quote_Request::add_propoza_quick_quote()
S
53 4 22
Propoza_Quote_Request::add_propoza_assets()
S
56 4 18
Propoza_Quote::delete_proposal_quote_clones()
S
57 4 17
Propoza_Quote_Request::init()
S
43 1 61
Propoza_Quote_Session::maybe_set_quote_cookies()
S
65 5 9
Propoza_Quote::get_cart()
S
63 5 9
Propoza_Checkout::order_placed()
S
60 4 14
WC_REST_Propoza_Controller::get_cart_contents_count()
S
61 4 11
Propoza_Checkout::updatePropozaQuoteOrdered()
S
53 3 23
Propoza_Quote::prepare_propoza_products()
S
55 3 23
Propoza_Quote_Request::get_request_quote_form_html()
S
53 3 23
WC_Propoza_Integration::init_form_fields()
S
44 1 50
Propoza_Quote_Request::request_quote_form_submit()
S
54 3 20
WC_Propoza_Integration::request_propoza_token()
S
56 3 19
WC_REST_Propoza_Controller::validate_product_id()
S
59 3 16
Propoza_Coupon::populate()
S
64 4 9
Propoza_Checkout::load_session_quote()
S
58 3 15
Propoza_Quote::prepare_product_attributes()
S
61 3 12
Propoza_Quote_Request::quick_quote_item()
S
61 3 12
WC_REST_Propoza_Controller::validate_product()
S
64 3 11
WC_REST_Propoza_Controller::clear_cart()
S
53 2 22
WC_Propoza_Integration::generate_button_html()
S
48 1 37
WC_Propoza_Integration::generate_text_html()
S
48 1 36
WC_Propoza_Integration::test_connection()
S
55 2 19
Propoza_Quote_Request::configured()
S
71 3 5
Propoza_Quote_Request::before_calculate_totals()
S
68 3 7
Propoza_Quote::save()
S
64 3 10
Propoza_Quote::load()
S
68 3 7
Propoza_Quote_Session::set_quote_cookies()
S
64 3 9
WC_REST_Propoza_Controller::add_customer()
S
60 2 13
WC_REST_Propoza_Controller::calculate_totals()
S
61 2 13
WC_Propoza_Integration::add_actions()
S
60 2 13
Propoza_Coupon::create_proposal_coupon()
S
52 1 25
WC_REST_Propoza_Controller::register_routes()
S
55 1 22
Propoza_Checkout::update_session()
S
59 1 16
Propoza_Quote_Request::has_propoza_coupon()
S
66 2 9
Propoza_Quote::prepare_quote()
S
67 2 7
Propoza_Quote_Request::reset_cart()
S
69 2 7
WC_REST_Propoza_Controller::validate_quantity()
S
65 2 9
Propoza_Frontend::get_instance()
S
71 2 6
Propoza_Frontend::init()
S
67 2 8
Propoza_Quote::get_quote_total()
S
69 2 7
plugins_loaded()
S
66 2 9
Propoza_Quote::get_product_ids()
S
69 2 7
Propoza_Quote::clone_quote()
S
67 2 8
Propoza::get_instance()
S
71 2 6
Propoza_Coupon::__construct()
S
70 2 6
Propoza::get_dashboard_propoza_url()
S
67 2 7
Propoza_Coupon::calculate_discount()
S
72 2 6
Propoza::get_dashboard_propoza_login_url()
S
70 2 6
Propoza_Quote_Session::get_quote_for_session()
S
67 2 8
Propoza_Admin::get_instance()
S
71 2 6
Propoza::activate_new_site()
S
68 2 8
Propoza_Checkout::get_instance()
S
71 2 6
WC_Propoza_Integration::quotes_page()
S
69 2 6
WC_Propoza_Rest_API::rest_api_init()
S
68 2 7
Propoza_Checkout::wc_coupons_enabled()
S
77 2 3
Propoza_Checkout::apply_customer_checkout_data()
S
71 2 6
Propoza_Quote_Request::get_instance()
S
71 2 6
Propoza_Quote::prepare_propoza_product()
S
62 1 11
Propoza::get_quote_ordered_url()
S
79 1 3
Propoza_Quote::is_empty()
S
79 1 3
WC_Propoza_Integration::enqueue_admin_scripts()
S
72 1 4
Propoza_Checkout::plugins_loaded()
S
75 1 4
Propoza_Coupon::load_by_id()
S
77 1 4
Propoza_Checkout::init()
S
69 1 6
Propoza::load_plugin_textdomain()
S
68 1 6
WC_REST_Propoza_Controller::get_totals()
S
77 1 4
Propoza::is_valid_api_key()
S
79 1 3
Propoza_Quote::add_quick_quote_image()
S
73 1 5
Propoza_Admin::init()
S
71 1 5
Propoza_Coupon::get_propoza_quote_id()
S
82 1 3
Propoza::get_authenticate_url()
S
65 1 9
Propoza_Quote::add_product()
S
80 1 3
Propoza_Quote_Request::__construct()
S
91 1 2
Propoza::get_request_quote_assets_url()
S
79 1 3
Propoza_Quote::get_products()
S
82 1 3
Propoza_Quote::set_products()
S
81 1 3
Propoza::get_connection_test_url()
S
78 1 3
Propoza_Quote::set_id()
S
81 1 3
Propoza_Quote_Session::destroy_quote_session()
S
76 1 4
Propoza_Quote_Session::set_session()
S
75 1 4
Propoza::get_request_quick_quote_button_url()
S
79 1 3
Propoza::get_blog_ids()
S
75 1 4
Propoza_Quote::prepare_requester()
S
81 1 3
Propoza_Quote::custom_post_status()
S
64 1 10
Propoza::get_sign_up_propoza_url()
S
78 1 3
Propoza_Admin::__construct()
S
91 1 2
Propoza_Checkout::propoza_checkout_rewrites_init()
S
71 1 6
Propoza::single_activate()
S
79 1 3
Propoza::__construct()
S
91 1 2
Propoza::get_request_button_url()
S
79 1 3
Propoza_Quote_Session::__construct()
S
81 1 3
WC_Propoza_Integration::enqueue_admin_styles()
S
77 1 3
WC_REST_Propoza_Controller::generateCartCookie()
S
64 1 8
woocommerce_not_active_notice()
S
83 1 3
WC_Propoza_Integration::init()
S
67 1 8
Propoza_Quote_Session::init()
S
66 1 8
Propoza_Quote_Request::enqueue_styles()
S
81 1 3
WC_Propoza_Integration::option()
S
75 1 4
Propoza_Quote::create()
S
64 1 10
Propoza_Quote::get_id()
S
82 1 3
Propoza_Quote::set_propoza_quote_id()
S
81 1 3
Propoza::get_protocol()
S
81 1 3
Propoza_Checkout::__construct()
S
91 1 2
WC_Propoza_Rest_API::register_cart_routes()
S
77 1 4
Propoza_Quote::get_prepared_quote()
S
81 1 3
Propoza_Quote::load_products_for_quick_quote()
S
81 1 3
propoza()
S
82 1 3
Propoza::get_request_quick_quote_url()
S
79 1 3
Propoza_Quote::__construct()
S
73 1 5
Propoza::get_propoza_url()
S
81 1 3
WC_Propoza_Integration::generate_settings_html()
S
72 1 5
Propoza::get_plugin_slug()
S
82 1 3
Propoza_Admin::plugin_action_links()
S
72 1 4
Propoza::single_deactivate()
S
89 1 2
WC_Propoza_Integration::menu_quote()
S
70 1 6
Propoza::is_request_authorized()
S
81 1 3
Propoza_Admin::add_integration()
S
72 1 5
WC_Propoza_Integration::__construct()
S
82 1 3
WC_Propoza_Rest_API::include_cart_controller()
S
79 1 3
Propoza_Coupon::is_propoza_proposal()
S
81 1 3
WC_Propoza_Rest_API::__construct()
S
82 1 3
Propoza_Quote::load_products_from_cart()
S
81 1 3
Propoza_Quote::prepare_quote_request()
S
65 1 9
Propoza::get_quote_request_form_url()
S
79 1 3
Propoza_Coupon::update_propoza_coupon()
S
69 1 6
Propoza::get_request_minicart_button_url()
S
79 1 3
Propoza_Quote_Request::enqueue_scripts()
S
70 1 5
Propoza_Quote::get_propoza_quote_id()
S
82 1 3
Propoza::get_dashboard_propoza_token_url()
S
78 1 3
Propoza_Frontend::__construct()
S
91 1 2