Code Analysis: PDF Invoices & Packing Slips for WooCommerce 3.2.5

Most Complex Functions

Function Rating Complexity
WPO\WC\PDF_Invoices\Main::generate_pdf_ajax()
D
51
WPO\WC\PDF_Invoices\Install::upgrade()
D
41
WPO\WC\PDF_Invoices\Main::attach_pdf_to_email()
C
31
WPO\WC\PDF_Invoices\Admin::ajax_crud_document()
C
28
WPO\WC\PDF_Invoices\Settings_Callbacks::normalize_settings_args()
C
26
WPO\WC\PDF_Invoices\Documents\Invoice::init_settings()
B
8
WPO\WC\PDF_Invoices\Settings_Debug::debug_tools()
B
19
WPO\WC\PDF_Invoices\Settings::preview_order_search()
B
20
WPO\WC\PDF_Invoices\Admin::output_number_date_edit_fields()
B
16
WPO\WC\PDF_Invoices\Settings::ajax_preview()
B
17
WPO\WC\PDF_Invoices\Documents\Order_Document_Methods::get_tax_rate()
B
19
WPO\WC\PDF_Invoices\Assets::backend_scripts_styles()
B
13