Code Analysis: PDF Invoices & Packing Slips for WooCommerce 3.6.0

Most Complex Functions

Function Rating Complexity
WPO\WC\PDF_Invoices\Main::generate_pdf_ajax()
D
53
WPO\WC\PDF_Invoices\Install::upgrade()
D
45
WPO\WC\PDF_Invoices\Settings\Settings_Debug::debug_tools()
D
26
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\Admin::ajax_crud_document()
C
28
WPO\WC\PDF_Invoices\Settings\Settings_Upgrade::get_extension_license_infos()
C
28
WPO\WC\PDF_Invoices\Assets::backend_scripts_styles()
C
20
WPO\WC\PDF_Invoices\Documents\Invoice::init_settings()
C
8
WPO\WC\PDF_Invoices\Admin::output_number_date_edit_fields()
C
21
WPO\WC\PDF_Invoices\Settings\Settings_Callbacks::normalize_settings_args()
C
26
WPO\WC\PDF_Invoices\Settings::ajax_preview()
B
19