Code Analysis: Printus - Cloud Printing for WooCommerce 1.1.0

Most Complex Functions

Function Rating Complexity
Printus\Controllers\API\Order\PrintOrder::sendPrintJob()
A
8
Printus\Controllers\API\Order\PrintOrder::getPrintTemplateStream()
A
8
Printus\Views\Prints\Template::prepare_replacements()
A
4
Printus\Views\Prints\Template::createRows()
S
7
Printus\Controllers\Ajax_Handlers\PrintOnDemand::printusPrintOrderFromAdminBtnHandler()
S
7
Printus\Views\Prints\Template::get_template_contents()
S
6
Printus\Controllers\Ajax_Handlers\PluginSettings::refresh_printers_btn_handler()
S
6
Printus\Controllers\API\Order\PrintOrder::autoheight_pdf()
S
5
Printus\Controllers\API\Request::makePostRequest()
S
4
Printus\Views\Admin\Metabox\Metabox::outputCloudPrintMetabox()
S
4
Printus\Notices\Notice::create_notice_markup()
S
5
Printus\Views\Admin\Plugin_Settings\LocalizationSettings::create_localization_strings_settings_fields()
S
1