Code Analysis: PDF Invoices & Packing Slips for WooCommerce 3.5.1

Most Complex Functions

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