Code Analysis: Woocommerce Google Cloud Print 1.1

Function Rating Maintainability Complexity Lines of code
OP_Google_Printer::woocommerce_thankyou_order_id()
S
52 7 24
custom_google_print_op_api_result()
S
55 7 21
OP_Google_Printer::op_register_form_end()
S
53 6 22
GoogleCloudPrint::sendPrintToPrinter()
S
47 5 35
OP_Google_Printer::get_authorization()
S
46 4 41
OP_Google_Printer::save_setting()
S
54 5 20
OP_Google_Printer::getPrinters()
S
56 4 18
GoogleCloudPrint::getPrinters()
S
56 3 19
OP_Google_Printer::get_setting()
S
56 3 18
OP_Google_Printer::plugin_row_meta()
S
63 4 9
GoogleCloudPrint::jobStatus()
S
60 3 13
custom_op_get_login_cashdrawer_data_google_print()
S
62 3 11
GoogleCloudPrint::parsePrinters()
S
62 3 11
OP_Google_Printer::refreshAccessToken()
S
57 2 17
OP_Google_Printer::op_register_save_after()
S
68 3 7
HttpRequest::__construct()
S
62 2 11
OP_Google_Printer::wc_get_receipt_order_items()
S
55 1 19
OP_Google_Printer::pos_admin_menu()
S
63 2 10
OP_Google_Printer::getOnlineOrderReceiptHtml()
S
62 1 11
GoogleCloudPrint::setAuthToken()
S
81 1 3
OP_Google_Printer::admin_enqueue()
S
71 1 5
OP_Google_Printer::__construct()
S
63 1 10
OP_Google_Printer::init()
S
74 1 4
GoogleCloudPrint::getAccessTokenByRefreshToken()
S
75 1 4
HttpRequest::__destruct()
S
81 1 3
HttpRequest::setUrl()
S
79 1 3
GoogleCloudPrint::__construct()
S
76 1 4
HttpRequest::setHeaders()
S
79 1 3
HttpRequest::setPostData()
S
75 1 4
OP_Google_Printer::setting_page()
S
70 1 6
HttpRequest::send()
S
80 1 3
OP_Google_Printer::get_oauth()
S
68 1 7
HttpRequest::getResponse()
S
82 1 3
GoogleCloudPrint::getAuthToken()
S
82 1 3
GoogleCloudPrint::getAccessToken()
S
69 1 7