zbsDAL_invoices D

Total Complexity 437
Dependencies 3
Dependents 1
Total lines 2,894
Lines of code 1,313
Logical lines of code 808
Comment lines 829
Methods 27
Properties 6

Methods 27

Method Rating Maintainability Complexity Lines of code
addUpdateInvoice()
D
1
124 462
getInvoices()
D
10
107 231
getInvoice()
D
27
42 114
recalculate()
C
34 28 94
generateTotalsTable()
C
39 29 57
tidy_invoice()
B
39 17 54
getOutstandingBalance()
A
47 12 35
deleteInvoice()
A
43 10 47
listViewObj()
A
53 10 20
addUpdateInvoiceTags()
A
52 9 21
getInvoiceCount()
A
57 9 13
__construct()
S
66 7 6
getInvoiceContactID()
S
58 4 16
getInvoiceCompany()
S
59 4 14
getInvoiceContact()
S
59 4 13
setInvoiceStatus()
S
60 4 12
add_listview_filters()
S
57 3 16
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
getAll()
S
64 1 10
getIDList()
S
66 1 9
get_invoice_status_except_deleted_for_query()
S
69 1 6
getSingle()
S
80 1 3
db_ready_invoice()
S
80 1 3