OBS_Invoice D

Total Complexity 146
Dependencies 6
Dependents 2
Total lines 629
Lines of code 525
Logical lines of code 386
Comment lines 18
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
create_invoice_from_order()
D
22
53 160
display_invoices()
B
33 21 97
generate_one_invoice()
B
37 17 67
generate_batch_invoices()
A
48 11 33
invoice_exists_for_order()
A
47 8 32
save_exchange_rate()
S
46 6 38
invoice_id_to_wp_db()
S
52 5 25
send_email_with_invoice()
S
60 5 11
exchange_rate_needed()
S
57 4 16
send_document_email_request()
S
57 4 15
pays_vat()
S
63 4 9
obs_array_count()
S
67 4 8
invoice_or_proforma_type()
S
61 3 11
preprocess_special_characteres()
S
77 1 3