Code Analysis: PDF Invoices and Packing Slips For WooCommerce 1.4.3

Function Rating Maintainability Complexity Lines of code
APIFW_Invoice::get_invoice_html_template()
D
0
182 949
APIFW_Api::get_base_settings()
D
16
65 249
APIFW_Dispatch_Label::get_dispatch_html_template()
D
12
49 461
APIFW_Delivery_Note::get_delivery_note_html_template()
D
15
47 374
apifw_get_order_detail()
D
17
48 240
APIFW_Front_End::handle_order_documents()
D
34 32 79
APIFW_Backend::add_settings_options()
C
18
10 389
APIFW_Api::save_base_settings()
C
32 22 107
APIFW_Packing_Slip::get_ps_html_template()
B
33 21 95
APIFW_Api::reset_invoice_template()
B
25
1 281
APIFW_Invoice::get_invoice_date()
A
41 11 63
APIFW_Shipping_Label::get_shipping_label_html_template()
A
40 11 62
APIFW_Backend::get_order_metabox_content()
A
40 9 57
APIFW_Backend::newone_orderlist_column_content()
A
46 10 34
APIFW_Invoice::generate_invoice_pdf()
A
43 9 47
APIFW_Invoice::add_attachment_order_email()
A
50 10 26
APIFW_Backend::new_orderlist_column_content()
A
47 9 31
APIFW_Backend::handle_bulk_actions_ordertable()
A
47 8 35
APIFW_Backend::admin_enqueue_scripts()
A
48 8 32
APIFW_Invoice::handle_new_order()
A
51 8 26
APIFW_Invoice::get_invoice_pdf_name()
A
53 8 24
APIFW_Invoice::format_invoice_number()
S
53 7 23
APIFW_Invoice::handle_order_update()
S
53 7 22
APIFW_Backend::get_deposit_metabox_content()
S
46 6 36
APIFW_Invoice::get_invoice_number()
S
50 6 30
APIFW_Invoice::__construct()
S
51 6 25
APIFW_Backend::create_secure_upload_dir()
S
53 6 23
APIFW_Backend::custom_bulk_actions_ordertable()
S
55 6 19
APIFW_Backend::admin_footer_scripts()
S
51 4 44
APIFW_Shipping_Label::get_shipping_label_template()
S
57 5 19
APIFW_Packing_Slip::get_packing_slip_template()
S
57 5 19
apifw_invoice_delete_cron_callback()
S
58 5 16
APIFW_Backend::new_awcdp_list_column_content()
S
56 5 15
APIFW_Backend::aco_deactivation_form()
S
48 2 47
APIFW_Backend::__construct()
S
47 3 32
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_Shipping_Label::generate_shipping_label_pdf()
S
52 2 26
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_Api::get_permission()
S
69 3 7
APIFW_Api::__construct()
S
57 1 19
APIFW_Api::instance()
S
71 2 6
APIFW_Backend::instance()
S
71 2 6
APIFW_Dispatch_Label::__construct()
S
65 2 9
APIFW_Backend::add_order_page_meta_box()
S
68 2 6
APIFW_Delivery_Note::__construct()
S
65 2 9
APIFW_Packing_Slip::__construct()
S
65 2 9
APIFW_Shipping_Label::__construct()
S
65 2 9
APIFW_Invoice::invoice_pdf_gen_handler()
S
68 2 7
APIFW_Backend::custom_bulk_actions_awcdp_table()
S
67 2 7
APIFW_autoloader()
S
66 2 7
APIFW_Backend::register_custom_cron()
S
70 2 6
APIFW_Backend::install()
S
66 2 9
APIFW_Front_End::instance()
S
71 2 6
APIFW_Backend::register_root_page()
S
63 1 11
APIFW_Backend::apifw_deactivation()
S
81 1 3
APIFW_Backend::admin_ui()
S
80 1 3
APIFW_Api::__wakeup()
S
79 1 3
APIFW_Api::__clone()
S
79 1 3
APIFW()
S
76 1 4
APIFW_Backend::add_settings_link()
S
68 1 6
APIFW_Backend::add_new_orderlist_column()
S
75 1 4
APIFW_Backend::notice_need_woocommerce()
S
71 1 5
APIFW_init()
S
74 1 4
APIFW_Backend::__wakeup()
S
79 1 3
APIFW_Backend::admin_enqueue_styles()
S
74 1 4
APIFW_Backend::add_deposit_page_meta_box()
S
77 1 3
APIFW_Backend::get_document_settings()
S
67 1 7
APIFW_Backend::view()
S
78 1 3
APIFW_Front_End::frontend_enqueue_styles()
S
74 1 4
APIFW_Front_End::__construct()
S
65 1 8
APIFW_Backend::__clone()
S
79 1 3
APIFW_Backend::add_new_awcdp_list_column()
S
75 1 4