ShopGlutUblInvoiceGenerator C

Total Complexity 103
Dependencies 3
Dependents 3
Total lines 557
Lines of code 424
Logical lines of code 294
Comment lines 7
Methods 35
Properties 2

Methods 35

Method Rating Maintainability Complexity Lines of code
generate_ubl_content()
A
46 15 38
get_company_information()
A
54 14 17
add_supplier_party()
A
45 7 42
ajax_generate_ubl_invoice()
S
53 7 21
add_customer_party()
S
49 5 31
generate_ubl_invoice()
S
55 5 20
attach_ubl_to_email()
S
65 5 9
add_item_info()
S
57 3 16
add_item_tax_info()
S
56 3 16
generate_ubl_2_1()
S
49 2 30
add_invoice_lines()
S
54 2 19
serve_ubl_file()
S
60 2 13
add_monetary_totals()
S
56 1 17
init_hooks()
S
63 2 10
is_enabled()
S
78 2 3
handle_order_status_change()
S
74 2 5
prepare_ubl_data()
S
59 1 15
get_invoice_number()
S
68 2 7
calculate_due_date()
S
72 2 4
get_ubl_format()
S
78 2 3
get_tax_mappings()
S
63 2 10
get_ubl_filename()
S
68 2 6
save_ubl_file()
S
63 2 10
show_my_account_ubl_download()
S
65 2 8
generate_simple_xml()
S
59 1 13
__construct()
S
73 1 5
should_generate_ubl_for_status()
S
75 1 4
get_invoice_date()
S
80 1 3
add_price_info()
S
65 1 8
generate_ubl_2_0()
S
80 1 3
generate_peppol_bis()
S
80 1 3
generate_factur_x()
S
80 1 3
generate_zugferd()
S
80 1 3
save_ubl_metadata()
S
72 1 5
add_my_account_ubl_column()
S
75 1 4