Code Analysis: PDF Invoices and Packing Slips For WooCommerce 1.2.8

Function Rating Maintainability Complexity Lines of code
APIFW_Invoice::get_invoice_html_template()
D
0
181 947
APIFW_Api::get_base_settings()
D
16
65 249
APIFW_Dispatch_Label::get_dispatch_html_template()
D
12
49 460
APIFW_Delivery_Note::get_delivery_note_html_template()
D
15
47 374
apifw_get_order_detail()
D
18
46 232
APIFW_Front_End::handle_order_documents()
D
34 32 79
APIFW_Backend::add_settings_options()
C
18
10 396
APIFW_Api::save_base_settings()
C
31 22 113
APIFW_Packing_Slip::get_ps_html_template()
B
33 21 95
APIFW_Api::reset_invoice_template()
B
25
1 282
APIFW_Shipping_Label::get_shipping_label_html_template()
A
40 11 62
APIFW_Invoice::get_invoice_date()
A
46 9 42
APIFW_Invoice::add_attachment_order_email()
A
50 10 26
APIFW_Invoice::generate_invoice_pdf()
A
45 8 42
APIFW_Backend::get_order_metabox_content()
A
42 7 51
APIFW_Backend::admin_enqueue_scripts()
A
47 8 32
APIFW_Backend::new_orderlist_column_content()
A
48 8 30
APIFW_Invoice::get_invoice_pdf_name()
A
53 8 24
APIFW_Invoice::handle_new_order()
A
52 8 24
APIFW_Backend::handle_bulk_actions_ordertable()
A
48 7 35
APIFW_Invoice::format_invoice_number()
S
53 7 23
APIFW_Invoice::handle_order_update()
S
53 7 22
APIFW_Invoice::__construct()
S
51 6 25
APIFW_Backend::create_secure_upload_dir()
S
53 6 23
APIFW_Invoice::get_invoice_number()
S
53 6 22
APIFW_Backend::custom_bulk_actions_ordertable()
S
55 6 19
APIFW_Packing_Slip::get_packing_slip_template()
S
57 5 19
APIFW_Shipping_Label::get_shipping_label_template()
S
57 5 19
apifw_invoice_delete_cron_callback()
S
58 5 16
APIFW_Backend::aco_deactivation_form()
S
48 2 46
APIFW_Backend::__construct()
S
51 3 23
APIFW_Backend::get_woo_store_address()
S
54 3 21
APIFW_Backend::apifw_posttypes()
S
48 2 34
APIFW_Invoice::add_frontend_action_btns()
S
56 3 16
APIFW_Backend::is_woocommerce_activated()
S
64 4 9
APIFW_Invoice::add_my_account_order_action_btns()
S
58 3 15
APIFW_Dispatch_Label::generate_dispatch_lbl_pdf()
S
52 2 26
APIFW_Packing_Slip::generate_ps_pdf()
S
52 2 26
APIFW_Delivery_Note::generate_delivery_note_pdf()
S
52 2 26
APIFW_Shipping_Label::generate_shipping_label_pdf()
S
52 2 26
APIFW_Api::get_permission()
S
69 3 7
APIFW_Api::__construct()
S
57 1 19
APIFW_Front_End::instance()
S
71 2 6
APIFW_Shipping_Label::__construct()
S
65 2 9
APIFW_Delivery_Note::__construct()
S
65 2 9
APIFW_Backend::instance()
S
71 2 6
APIFW_Packing_Slip::__construct()
S
65 2 9
APIFW_autoloader()
S
66 2 7
APIFW_Dispatch_Label::__construct()
S
65 2 9
APIFW_Backend::register_custom_cron()
S
70 2 6
APIFW_Api::instance()
S
71 2 6
APIFW_Backend::install()
S
66 2 9
APIFW_Invoice::invoice_pdf_gen_handler()
S
68 2 7
APIFW_Backend::register_root_page()
S
63 1 11
APIFW_Backend::__wakeup()
S
79 1 3
APIFW_Backend::add_settings_link()
S
68 1 6
APIFW_Front_End::frontend_enqueue_styles()
S
74 1 4
APIFW_Backend::get_document_settings()
S
67 1 7
APIFW_Backend::apifw_deactivation()
S
81 1 3
APIFW_init()
S
74 1 4
APIFW()
S
76 1 4
APIFW_Api::__clone()
S
79 1 3
APIFW_Backend::view()
S
78 1 3
APIFW_Backend::add_new_orderlist_column()
S
75 1 4
APIFW_Backend::__clone()
S
79 1 3
APIFW_Front_End::__construct()
S
65 1 8
APIFW_Backend::admin_ui()
S
80 1 3
APIFW_Backend::add_order_page_meta_box()
S
77 1 3
APIFW_Backend::notice_need_woocommerce()
S
71 1 5
APIFW_Api::__wakeup()
S
79 1 3
APIFW_Backend::admin_enqueue_styles()
S
74 1 4