ShopGlutInvoiceGenerator D

Total Complexity 161
Dependencies 3
Dependents 3
Total lines 560
Lines of code 438
Logical lines of code 242
Comment lines 15
Methods 35
Properties 2

Methods 35

Method Rating Maintainability Complexity Lines of code
get_template_settings()
A
50 14 22
get_company_information()
A
54 14 17
generate_invoice()
A
49 12 29
generate_sequential_invoice_number()
A
45 10 42
get_display_settings()
A
58 10 13
ajax_generate_invoice()
A
51 9 24
mark_as_printed()
A
54 8 19
can_download_from_account()
S
58 7 15
attach_invoice_to_email()
S
60 7 13
convert_html_to_pdf()
S
55 5 18
prepare_display_data()
S
54 4 20
get_invoice_date()
S
63 5 10
save_pdf_file()
S
59 4 14
should_show_shipping_address()
S
61 4 12
calculate_due_date()
S
66 4 7
get_display_date()
S
64 4 10
serve_pdf_file()
S
59 3 13
load_invoice_template()
S
62 3 11
get_display_number()
S
65 3 10
get_display_number_label()
S
64 3 10
get_display_date_label()
S
64 3 10
add_my_account_invoice_column()
S
67 3 7
show_my_account_invoice_download()
S
63 3 9
init_hooks()
S
63 2 10
is_enabled()
S
78 2 3
handle_order_status_change()
S
74 2 5
should_generate_invoice_for_status()
S
74 2 4
prepare_invoice_data()
S
59 1 15
get_invoice_number()
S
65 2 9
format_due_date()
S
70 2 6
get_invoice_filename()
S
62 2 10
__construct()
S
73 1 5
generate_custom_invoice_number()
S
80 1 3
generate_pdf_content()
S
74 1 5
save_invoice_metadata()
S
66 1 8