zbsDAL_invoices D

Total Complexity 431
Dependencies 2
Dependents 3
Total lines 2,791
Lines of code 1,208
Logical lines of code 778
Comment lines 799
Methods 25
Properties 3

Methods 25

Method Rating Maintainability Complexity Lines of code
addUpdateInvoice()
D
1
127 451
getInvoices()
D
10
107 227
getInvoice()
D
27
42 114
generateTotalsTable()
C
39 29 57
recalculate()
B
38 22 64
tidy_invoice()
B
39 17 53
getOutstandingBalance()
A
49 12 29
deleteInvoice()
A
51 11 23
listViewObj()
A
53 10 20
addUpdateInvoiceTags()
A
55 9 16
getInvoiceCount()
A
57 9 13
__construct()
S
71 7 4
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
getSingle()
S
80 1 3
getFullCount()
S
69 1 7
getAll()
S
64 1 10
getIDList()
S
66 1 9
db_ready_invoice()
S
80 1 3