Code Analysis: Printcart Integration 2.0.0

Function Rating Maintainability Complexity Lines of code
Printcart_Product_Hook::printcart_create_project()
A
45 16 39
Printcart_Product_Hook::printcart_add_sdk()
A
49 12 26
Printcart_Product_Hook::printcart_order_design()
A
45 11 38
Printcart_Product_Hook::printcart_get_product_integration()
A
54 8 20
Printcart_Options_List_Table::prepare_items()
S
52 7 23
Printcart_Options_List_Table::pc_pagination()
S
47 6 35
Printcart_REST_Custom_Controller::update_api_key()
S
55 7 19
PC_W2P_API::check_connection_with_printcart_by_key()
S
52 6 24
Printcart_Product_Hook::printcart_get_product_integration_by_variation()
S
55 6 19
Printcart_Product_Hook::printcart_w2p_check_connection_dashboard()
S
58 6 16
Printcart_Product_Hook::printcart_generate_key()
S
46 4 43
Printcart_Product_Hook::printcart_add_preview_designs()
S
60 6 12
Printcart_Product_Hook::init()
S
52 5 23
Printcart_Product_Hook::printcart_add_preview_designs_thankyou()
S
56 5 17
Printcart_Product_Hook::__construct()
S
61 5 12
printcart_plugin_activation()
S
60 4 12
Printcart_Product_Hook::printcart_order_line_item()
S
68 4 7
Printcart_Options_List_Table::column_product_image()
S
69 4 5
Printcart_Product_Hook::printcart_ajax()
S
61 3 13
Printcart_Product_Hook::printcart_frontend_enqueue_scripts()
S
53 2 23
PC_W2P_API::get_basic_auth()
S
65 3 8
Printcart_Options_List_Table::column_updated_at()
S
70 3 5
Printcart_Product_Hook::printcart_add_cart_item_data()
S
66 3 8
Printcart_Options_List_Table::column_enable_upload()
S
71 3 5
Printcart_Options_List_Table::column_view()
S
65 3 8
Printcart_Options_List_Table::column_enable_design()
S
71 3 5
Printcart_Product_Hook::printcart_button_view_order()
S
61 2 14
printcart_plugin_redirect()
S
70 2 6
PC_W2P_API::get_header_unauth_token()
S
68 2 7
Printcart_Product_Hook::printcart_iframe_design_in_order()
S
72 1 15
PC_W2P_API::fetchProducts()
S
68 2 7
Printcart_Product_Hook::instance()
S
72 2 6
Printcart_Options_List_Table::column_name()
S
70 2 5
Printcart_Options_List_Table::get_columns()
S
59 1 14
Printcart_Options_List_Table::pc_display_pagination()
S
70 1 11
Printcart_REST_Custom_Controller::register_routes()
S
63 1 11
Printcart_Options_List_Table::column_status()
S
79 1 3
PC_W2P_API::fetchIntegrationProductById()
S
75 1 4
PC_W2P_API::fetchStoreDetailWithAuth()
S
74 1 4
Printcart_Product_Hook::printcart_admin_enqueue_scripts()
S
64 1 9
Printcart_Options_List_Table::column_default()
S
81 1 3
PC_W2P_API::fetchStoreDetail()
S
75 1 4
PC_W2P_API::__construct()
S
91 1 2
Printcart_Product_Hook::printcart_options_design()
S
82 1 3
Printcart_REST_Custom_Controller::__construct()
S
79 1 3
pintcart_custom_api()
S
76 1 4
Printcart_Options_List_Table::column_cb()
S
79 1 3
PC_W2P_API::createOrder()
S
74 1 4
PC_W2P_API::fetchProductCount()
S
75 1 4
PC_W2P_API::fetchDataWithAuth()
S
70 1 6
PC_W2P_API::postData()
S
67 1 8
Printcart_Product_Hook::printcart_add_hidden_order_items()
S
77 1 4
PC_W2P_API::fetchData()
S
68 1 7
Printcart_Product_Hook::printcart_add_design_box()
S
65 1 10
Printcart_Options_List_Table::__construct()
S
68 1 7
Printcart_REST_Custom_Controller::check_permission_unauth()
S
82 1 3
PC_W2P_API::fetchAccount()
S
75 1 4
printcart_plugin_settings_link()
S
66 1 7
PC_W2P_API::response()
S
75 1 4
Printcart_Options_List_Table::column_created_at()
S
75 1 4