WHPDF_Document S

Total Complexity 44
Dependencies 3
Dependents 1
Total lines 385
Lines of code 227
Logical lines of code 132
Comment lines 73
Methods 21
Properties 4

Methods 21

Method Rating Maintainability Complexity Lines of code
show_invoice_template_sender()
S
58 5 15
show_invoice_template_customer_data()
S
58 4 15
show_invoice_template_invoice_data()
S
53 3 28
save()
S
52 3 22
show_invoice_template_company_logo()
S
61 3 13
view_document()
S
58 2 16
get_formatted_date()
S
65 3 8
get_new_invoice_number()
S
68 3 7
initialize()
S
64 3 10
init_template_generation_actions()
S
56 1 23
generate_template()
S
55 1 19
get_full_path()
S
65 2 9
add_invoice_content()
S
68 2 7
add_invoice_style()
S
70 2 6
get_formatted_invoice_number()
S
66 1 8
show_invoice_template_products_list()
S
80 1 3
show_invoice_template_footer()
S
80 1 3
flush_template()
S
91 1 2
init_template()
S
75 1 4
save_file()
S
76 1 4
__construct()
S
73 1 5