YITH_WooCommerce_Pdf_Invoice A

Total Complexity 71
Dependencies 3
Dependents 1
Total lines 623
Lines of code 326
Logical lines of code 180
Comment lines 192
Methods 26
Properties 5

Methods 26

Method Rating Maintainability Complexity Lines of code
init_plugin_actions()
A
53 9 22
show_pdf_invoice_metabox()
A
42 6 63
attach_invoice_to_email()
S
55 5 20
add_order_status_related_actions()
S
61 5 12
view_document()
S
53 4 23
show_invoice_custom_column_data()
S
59 4 13
add_back_end_shipping_list_buttons()
S
57 3 15
get_document_by_type()
S
62 3 13
plugin_row_meta()
S
69 3 6
reset_document()
S
65 3 9
create_document()
S
65 3 9
initialize()
S
64 3 10
check_invoice_url_for_action()
S
67 3 9
add_back_end_invoice_buttons()
S
59 2 13
__construct()
S
54 1 21
save_document_by_type()
S
70 2 6
new_automatic_invoice()
S
70 2 6
print_invoice_button()
S
63 2 10
enqueue_scripts()
S
59 1 13
add_features_on_admin_orders_page()
S
72 1 6
add_buttons_on_customer_orders_page()
S
71 1 6
save_document()
S
74 1 5
enqueue_styles()
S
79 1 3
set_metabox_actions()
S
79 1 3
add_invoice_metabox()
S
70 1 6
action_links()
S
75 1 4