zbsDAL_invoices D

Total Complexity 429
Dependencies 3
Dependents 1
Total lines 2,854
Lines of code 1,279
Logical lines of code 793
Comment lines 816
Methods 26
Properties 6

Methods 26

Method Rating Maintainability Complexity Lines of code
addUpdateInvoice()
D
2
119 450
getInvoices()
D
10
107 232
getInvoice()
D
27
42 114
recalculate()
C
34 28 94
generateTotalsTable()
C
39 29 57
tidy_invoice()
B
39 17 54
getOutstandingBalance()
A
49 12 29
deleteInvoice()
A
43 10 47
listViewObj()
A
53 10 20
addUpdateInvoiceTags()
A
52 9 21
getInvoiceCount()
A
57 9 13
__construct()
S
69 7 5
getInvoiceContactID()
S
58 4 16
getInvoiceCompany()
S
59 4 14
getInvoiceContact()
S
59 4 13
setInvoiceStatus()
S
60 4 12
getInvoiceMeta()
S
60 2 14
getInvoiceOwner()
S
62 2 12
getInvoiceStatus()
S
62 2 12
getInvoiceHash()
S
62 2 12
getFullCount()
S
69 1 7
getSingle()
S
80 1 3
getAll()
S
64 1 10
get_invoice_status_except_deleted_for_query()
S
69 1 6
getIDList()
S
66 1 9
db_ready_invoice()
S
80 1 3