Code Analysis: CRM ERP Business Solution for freelancers & SME 1.0.6

Function Rating Maintainability Complexity Lines of code
CrmErpSolutionInvoice::generate()
D
12
78 295
CRMTransactions::addNew()
D
15
71 259
CrmErpSolutionReports::all_crmerp_transactions()
D
13
66 286
CrmErpSolutionInit::adminSettings()
D
22
59 167
CRMTransactions::view()
D
18
51 245
CRMTransactions::fieldsNew()
D
18
47 299
CrmErpSolutionReports::orders()
D
25
56 117
TTFontFile::makeSubset()
D
18
43 251
CRMUsers::view()
D
19
37 313
TTFontFile::extractInfo()
D
22
46 174
CrmErpSolutionReports::byDate()
D
21
42 215
tFPDF::_putfonts()
D
21
36 209
CrmErpSolutionTransactions::prepare_items()
D
31 42 86
tFPDF::MultiCell()
D
28
36 140
tFPDF::Cell()
D
30 35 105
tFPDF::_putTTfontwidths()
D
32 32 96
CRMTransactions::listView()
C
31 29 117
FPDF::_parsepngstream()
C
30 29 112
tFPDF::_parsepngstream()
C
30 29 112
GetInfoFromType1()
C
33 29 87
FPDF::MultiCell()
C
32 27 108
FPDF::_putfonts()
C
31 27 106
CrmErpSolutionReports::customers()
C
32 27 91
FPDF::Cell()
C
35 28 75
CrmErpSolutionReports::payments()
C
32 23 107
CrmErpSolutionReports::select_dropdown()
C
32 23 104
CrmErpSolutionReports::products()
C
31 22 116
CrmErpSolutionInit::adminProcessSettings()
C
38 25 66
CrmErpSolutionReports::countries()
C
32 22 111
tFPDF::Write()
C
33 21 111
CrmErpSolutionInit::intro()
B
25
12 228
CrmErpSolutionUsers::prepare_items()
B
36 22 70
CRMTransactions::crm_generatePdf()
B
31 19 112
CRMUsers::addNew()
B
40 22 52
CrmErpSolutionReports::extraQueryFilters()
B
41 22 47
PDF::OpenTag()
B
42 22 46
TTFontFile::getHMTX()
B
39 20 59
FPDF::Image()
B
40 20 54
tFPDF::Image()
B
40 20 54
CrmErpSolutionReports::reportView()
B
36 18 83
CrmErpSolutionInit::adminTabs()
B
40 20 49
CRMUsers::queryUsers()
B
38 18 65
CrmErpSolution::__construct()
B
36 17 79
TTFParser::ParseCmap()
B
39 18 64
tFPDF::AddFont()
B
33 16 92
CrmErpSolutionProducts::addAdColumns()
B
41 17 57
CrmErpSolutionTransactions::process_bulk_action()
B
41 17 52
CRMUsers::userFieldsAdd()
B
36 13 99
tFPDF::SetFont()
A
43 16 45
CrmErpSolutionTransactions::single_row_columns()
A
42 16 44
tFPDF::__construct()
A
35 13 81
FPDF::__construct()
A
35 13 81
CrmErpSolutionReports::categories()
A
36 12 91
TTFParser::BuildCmap()
A
38 13 76
FPDF::SetFont()
A
44 15 43
CrmErpSolutionUsers::single_row_columns()
A
38 13 68
FPDF::Write()
A
39 12 75
CRMUsers::listView()
A
44 14 45
CrmErpSolutionAppointments::fieldsCreate()
A
40 12 64
CRMUsers::getTransactionProductsbyUser()
A
37 10 87
CRMUsers::getTransactionbyUser()
A
37 10 75
CrmErpSolutionAppointments::saveFields()
A
49 13 30
CrmErpSolutionReports::paid()
A
37 10 74
tFPDF::_beginpage()
A
45 12 43
FPDF::_beginpage()
A
45 12 43
FPDF::AddPage()
A
42 11 55
tFPDF::AddPage()
A
42 11 55
CrmErpSolution::onUninstall()
A
45 12 38
CrmErpSolutionDocuments::adminProcessSettings()
A
48 12 33
CRMUsers::get_customer_totals()
A
47 12 30
GetInfoFromTrueType()
A
40 10 59
FPDF::Output()
A
45 11 44
tFPDF::Output()
A
45 11 44
CrmErpSolutionDocuments::addDocument()
A
49 12 28
FPDF::_putimage()
A
44 11 41
tFPDF::_putimage()
A
44 11 41
TTFontFile::getCMAP4()
A
45 11 40
CrmErpSolutionAppointments::addAdColumns()
A
47 11 33
tFPDF::_putpage()
A
44 10 42
tFPDF::UTF8StringToArray()
A
50 11 25
FPDF::_putpage()
A
45 10 38
CRMUsers::fieldsNew()
A
44 9 51
CrmErpSolutionInit::currency_symbols()
A
28
1 164
TTFParser::BuildFont()
A
43 9 44
CRMTransactions::getTransactionProducts()
A
42 8 58
MakeUnicodeArray()
A
46 9 41
CrmErpSolutionUsers::process_bulk_action()
A
51 10 23
TTFParser::ParseGlyf()
A
47 9 36
PDF::WordWrap()
A
44 8 51
tFPDF::GetStringWidth()
A
52 10 21
PDF::CloseTag()
A
55 10 19
TTFontFile::getGlyphs()
A
48 9 34
CrmErpSolution::onActivation()
A
46 8 41
CrmErpSolutionInvoice::sendDocument()
A
44 8 40
TTFParser::ParsePost()
A
46 8 39
CrmErpSolutionInit::extensions()
A
46 8 38
CrmErpSolution::onDeActivation()
A
49 8 37
MakeFont()
A
47 8 35
CrmErpSolutionProducts::saveFields()
A
55 9 19
FPDF::SetDisplayMode()
A
62 10 10
tFPDF::SetDisplayMode()
A
62 10 10
CRMUsers::query_users()
A
48 8 30
CrmErpSolutionInvoice::deleteFontFiles()
A
51 8 30
CRMUsers::addnewUserForm()
A
47 7 42
PDF::CellFit()
A
51 8 24
CrmErpSolutionProducts::displayProducts()
A
45 7 39
CRMUsers::query_customers()
A
51 8 23
CRMUsers::updateUserFields()
A
51 8 22
MakeWidthArray()
A
53 8 21
FPDF::_putcatalog()
A
54 8 19
tFPDF::_putcatalog()
A
54 8 19
CrmErpSolutionInit::generalView()
A
54 8 19
CrmErpSolutionReports::get_transaction_months()
A
54 8 18
PDF::WriteHTML()
A
48 7 32
CrmErpSolutionReports::get_transaction_years()
A
55 8 17
CrmErpSolutionInvoice::samplePdf()
S
44 6 40
TTFontFile::endTTFile()
S
46 6 39
CrmErpSolutionTransactions::get_columns()
S
43 5 54
CRMTransactions::tableInstall()
S
40 2 97
CRMUsers::query_vendors()
S
52 7 20
FPDF::_tounicodecmap()
S
44 5 49
tFPDF::Text()
S
53 7 19
tFPDF::_tounicodecmap()
S
44 5 49
CrmErpSolutionInit::paymentMethod()
S
50 6 32
FPDF::_parsejpg()
S
55 7 16
tFPDF::_parsejpg()
S
55 7 16
MakeFontDescriptor()
S
50 6 27
CrmErpSolutionProducts::filter_products()
S
52 6 22
CRMUsers::ajaxEvent()
S
45 1 97
FPDF::AddFont()
S
53 6 21
CRMUsers::getTransactionInvoicebyUser()
S
53 6 21
CrmErpSolutionProducts::offlineProducts()
S
36 1 95
CrmErpSolutionProducts::displaySoldProducts()
S
54 6 18
CrmErpSolutionTransactions::column_name()
S
47 5 33
CrmErpSolution::BackEndScripts()
S
43 4 47
MakeDefinitionFile()
S
49 5 31
CrmErpSolutionProducts::displaySoldProductsTransactions()
S
57 6 15
FPDF::_loadfont()
S
60 6 12
FPDF::_putpages()
S
50 5 27
tFPDF::_loadfont()
S
60 6 12
tFPDF::_putpages()
S
50 5 27
CRMUsers::getOffersbyUser()
S
45 4 41
CrmErpSolutionInit::accessRole()
S
52 5 24
CRMUsers::getAppointmentsbyUser()
S
45 4 39
TTFontFile::getMetrics()
S
52 5 23
FPDF::_parsegif()
S
53 5 22
tFPDF::_parsegif()
S
53 5 22
TTFontFile::getLOCA()
S
54 5 20
CrmErpSolutionInit::currencySymbol()
S
55 5 19
TTFParser::ParseLoca()
S
56 5 19
FPDF::_checkoutput()
S
59 5 16
TTFParser::BuildPost()
S
50 4 31
tFPDF::_checkoutput()
S
59 5 16
FPDF::SetDrawColor()
S
65 6 8
FPDF::SetFillColor()
S
63 6 9
tFPDF::SetFillColor()
S
63 6 9
tFPDF::SetDrawColor()
S
65 6 8
FPDF::_readstream()
S
59 5 14
tFPDF::_readstream()
S
59 5 14
TTFontFile::getGlyphData()
S
59 5 14
FPDF::_UTF8toUTF16()
S
51 4 27
tFPDF::_UTF8toUTF16()
S
51 4 27
TTFParser::ParseName()
S
51 4 26
CRMTransactions::updatePaid()
S
51 4 25
TTFParser::BuildGlyf()
S
54 4 20
CrmErpSolutionInit::companyImage()
S
55 4 19
TTFParser::ParseOffsetTable()
S
55 4 18
FPDF::_getpagesize()
S
57 4 17
TTFParser::BuildLoca()
S
57 4 17
CrmErpSolutionReports::displayTotalEarned()
S
56 4 17
CrmErpSolutionReports::displayTotalDueEarn()
S
56 4 17
CrmErpSolutionReports::displayTotalPaid()
S
56 4 17
CrmErpSolutionReports::displayTotalPay()
S
56 4 17
tFPDF::_getpagesize()
S
57 4 17
MakeFontEncoding()
S
57 4 16
FPDF::SetTextColor()
S
66 5 7
FPDF::Text()
S
61 5 10
FPDF::_escape()
S
68 5 6
FPDF::_out()
S
63 5 10
CRMTransactions::getTransactionParentPayments()
S
56 4 15
tFPDF::SetTextColor()
S
66 5 7
tFPDF::_escape()
S
68 5 6
tFPDF::_out()
S
63 5 10
Message()
S
61 4 14
CRMTransactions::getTransactionParent()
S
58 4 12
TTFParser::AddGlyph()
S
62 4 12
CrmErpSolutionAppointments::getEvents()
S
52 3 24
TTFParser::ParseOS2()
S
55 3 20
CrmErpSolutionAppointments::displayCalendar()
S
52 1 49
CRMUsers::__construct()
S
44 1 47
CrmErpSolutionProducts::searchfilter()
S
56 3 17
LoadMap()
S
56 3 16
FPDF::Rect()
S
63 4 9
CrmErpSolutionDocuments::tableInstall()
S
52 2 30
CrmErpSolutionDocuments::headingsColor()
S
64 4 10
CrmErpSolutionDocuments::headingsBackground()
S
64 4 10
CrmErpSolutionDocuments::generalColor()
S
64 4 10
CrmErpSolutionDocuments::thankyouColor()
S
64 4 10
FPDF::_httpencode()
S
62 4 10
CRMTransactions::validate()
S
67 4 7
CrmErpSolutionDocuments::deleteDocument()
S
64 4 9
TTFParser::ParseHmtx()
S
59 3 15
PDF::SetStyle()
S
63 4 10
CrmErpSolutionProducts::searchProductForm()
S
64 4 9
tFPDF::Rect()
S
63 4 9
tFPDF::_httpencode()
S
62 4 10
FPDF::_enddoc()
S
51 2 29
tFPDF::_enddoc()
S
51 2 29
CRMUsers::extraFilters()
S
54 2 28
CrmErpSolutionAppointments::addEvent()
S
59 3 13
CrmErpSolutionTransactions::get_bulk_actions()
S
60 3 13
CrmErpSolutionInit::notice()
S
61 3 13
CrmErpSolutionInit::wooInt()
S
62 3 13
TTFontFile::calcChecksum()
S
59 3 13
TTFParser::Subset()
S
63 3 12
TTFontFile::sub32()
S
61 3 12
CrmErpSolutionDocuments::invoiceStart()
S
62 3 11
CrmErpSolutionDocuments::invoiceThankyou()
S
62 3 11
FPDF::Close()
S
63 3 11
CrmErpSolutionProducts::__construct()
S
51 2 26
tFPDF::Close()
S
63 3 11
CRMUsers::extraUserFields()
S
54 2 25
CrmErpSolutionAppointments::Appointments()
S
46 1 40
CrmErpSolutionAppointments::crmerpbs_app_cpt_messages()
S
52 2 22
CrmErpSolutionProducts::crmerpbs_products_cpt_messages()
S
52 2 22
CrmErpSolutionInit::adminPanels()
S
46 1 37
CrmErpSolutionUsers::get_columns()
S
55 2 20
CRMUsers::someMoreFields()
S
55 1 31
CrmErpSolutionAppointments::__construct()
S
57 2 16
TTFParser::ParseHead()
S
58 2 16
tFPDF::SetY()
S
67 3 8
FPDF::_isascii()
S
65 3 9
CrmErpSolutionInit::enableAppointments()
S
66 3 8
CrmErpSolutionInit::onlySelectDocuments()
S
66 3 8
CrmErpSolutionInit::deleteSettings()
S
66 3 8
FPDF::SetLeftMargin()
S
73 3 5
CrmErpSolutionInit::deleteTables()
S
66 3 8
CrmErpSolutionInit::companyMobile()
S
63 3 10
CrmErpSolutionInit::enableOffers()
S
66 3 8
CrmErpSolutionInit::companyPhone()
S
63 3 10
tFPDF::SetFontSize()
S
66 3 8
CRMTransactions::updatePaidInvoice()
S
57 2 15
TTFontFile::readTableDirectory()
S
59 2 15
FPDF::SetFontSize()
S
66 3 8
tFPDF::SetLink()
S
68 3 7
CrmErpSolutionInit::defaultVat()
S
63 3 10
tFPDF::_isascii()
S
65 3 9
FPDF::SetLink()
S
68 3 7
FPDF::SetY()
S
67 3 8
CrmErpSolutionInit::companyVat()
S
63 3 10
CrmErpSolutionDocuments::activateReceipts()
S
66 3 8
CrmErpSolutionInit::companyAddress()
S
64 3 8
tFPDF::SetLeftMargin()
S
73 3 5
CrmErpSolutionInit::companyName()
S
63 3 10
tFPDF::_dochecks()
S
70 3 6
tFPDF::_putstreamobject()
S
60 2 14
FPDF::_putstreamobject()
S
60 2 14
TTFontFile::getHMetric()
S
59 2 14
CrmErpSolutionAppointments::displayAppointments()
S
61 2 13
CrmErpSolutionReports::totalBalance()
S
61 2 11
TTFParser::CheckSum()
S
61 2 11
CrmErpSolutionReports::total()
S
61 2 11
CrmErpSolutionDocuments::adminPanels()
S
53 1 21
CrmErpSolutionProducts::column_order()
S
58 1 16
TTFontFile::get_chunk()
S
72 2 5
TTFontFile::read_short()
S
66 2 7
tFPDF::SetLineWidth()
S
72 2 5
CRMTransactions::get_instance()
S
73 2 5
CrmErpSolutionDocuments::invoicePrefix()
S
67 2 8
TTFontFile::_set_short()
S
65 2 9
PDF::Footer()
S
64 2 9
CrmErpSolutionReports::woo_report()
S
71 2 5
tFPDF::_putinfo()
S
68 2 6
FPDF::SetCreator()
S
78 2 3
TTFontFile::unpack_short()
S
67 2 7
CrmErpSolutionProducts::get_instance()
S
73 2 5
CrmErpSolutionInit::enableTickets()
S
67 2 8
CrmErpSolutionDocuments::invoiceNotes()
S
63 2 9
FPDF::SetX()
S
71 2 6
tFPDF::SetSubject()
S
78 2 3
CrmErpSolution::get_instance()
S
73 2 5
FPDF::_textstring()
S
72 2 5
FPDF::_putimages()
S
67 2 8
TTFParser::LoadTable()
S
66 2 8
tFPDF::UTF8ToUTF16BE()
S
67 2 8
FPDF::_putinfo()
S
68 2 6
CRMUsers::get_customer_total_order()
S
71 2 5
FPDF::SetMargins()
S
69 2 7
FPDF::SetCompression()
S
71 2 6
CRMTransactions::tableCheck()
S
74 2 5
FPDF::_newobj()
S
70 2 6
CrmErpSolutionDocuments::tableCheck()
S
74 2 5
tFPDF::SetTitle()
S
78 2 3
CRMUsers::getTransactionTotalbyUser()
S
65 2 8
TTFontFile::pack_short()
S
67 2 8
tFPDF::Ln()
S
69 2 7
FPDF::SetKeywords()
S
78 2 3
FPDF::GetStringWidth()
S
64 2 9
CrmErpSolutionTransactions::get_sortable_columns()
S
59 1 15
FPDF::_dochecks()
S
75 2 4
FPDF::_parsepng()
S
66 2 8
FPDF::SetAuthor()
S
78 2 3
CrmErpSolution::redirectOnActivation()
S
70 2 6
TTFParser::SetTable()
S
64 2 9
CrmErpSolutionProducts::init()
S
69 2 6
FPDF::Ln()
S
69 2 7
FPDF::SetTitle()
S
78 2 3
TTFParser::BuildHmtx()
S
65 2 9
tFPDF::SetX()
S
71 2 6
CRMUsers::getTransactionOwnedbyUser()
S
65 2 8
FPDF::_putresourcedict()
S
63 2 10
tFPDF::_putxobjectdict()
S
74 2 4
tFPDF::SetCreator()
S
78 2 3
CrmErpSolutionAppointments::getUsername()
S
74 2 4
CrmErpSolutionInit::checkPrice()
S
65 2 9
TTFParser::Read()
S
78 2 3
CrmErpSolutionReports::get_instance()
S
73 2 5
TTFontFile::add()
S
70 2 6
CRMUsers::getUsername()
S
74 2 4
tFPDF::SetAuthor()
S
78 2 3
CRMUsers::getTransactionOffersbyUser()
S
65 2 8
tFPDF::SetCompression()
S
71 2 6
TTFontFile::get_table()
S
68 2 6
CrmErpSolutionInit::enableActions()
S
67 2 8
SaveToFile()
S
68 2 7
tFPDF::_textstring()
S
72 2 5
CrmErpSolutionUsers::get_instance()
S
73 2 5
tFPDF::_newobj()
S
70 2 6
CRMUsers::checkExistingVat()
S
65 2 8
TTFParser::__construct()
S
72 2 5
CrmErpSolutionInit::enableStock()
S
67 2 8
CRMTransactions::getUsername()
S
74 2 4
CRMUsers::get_customer_total_order_count()
S
72 2 5
TTFParser::__destruct()
S
77 2 4
PDF::Header()
S
70 2 6
FPDF::_putxobjectdict()
S
74 2 4
TTFParser::Seek()
S
71 2 5
tFPDF::_parsepng()
S
66 2 8
tFPDF::_putimages()
S
67 2 8
crm_price()
S
72 2 5
FPDF::SetLineWidth()
S
72 2 5
FPDF::SetSubject()
S
78 2 3
tFPDF::SetMargins()
S
69 2 7
TTFParser::ReadShort()
S
67 2 7
CrmErpSolutionDocuments::checkDocument()
S
67 2 7
tFPDF::_putresourcedict()
S
63 2 10
tFPDF::SetKeywords()
S
78 2 3
CRMUsers::get_instance()
S
73 2 5
CrmErpSolutionInit::general_options()
S
57 1 14
CrmErpSolutionUsers::column_name()
S
59 1 13
TTFParser::Parse()
S
63 1 13
CrmErpSolutionInvoice::hex2dec()
S
60 1 13
CrmErpSolutionAppointments::column_order()
S
62 1 12
CrmErpSolutionInit::rating()
S
66 1 11
CrmErpSolutionAppointments::init()
S
78 1 3
TTFParser::ReadUShort()
S
74 1 4
TTFontFile::splice()
S
77 1 3
tFPDF::AcceptPageBreak()
S
83 1 3
CrmErpSolutionUsers::get_sortable_columns()
S
66 1 9
CrmErpSolutionUsers::column_default()
S
82 1 3
CrmErpSolutionReports::date_report()
S
78 1 4
TTFontFile::seek_table()
S
70 1 6
PDF::__construct()
S
63 1 10
Notice()
S
80 1 3
tFPDF::Line()
S
76 1 3
PDF::CellFitScaleForce()
S
77 1 3
FPDF::Link()
S
76 1 3
tFPDF::SetTopMargin()
S
82 1 3
TTFParser::ParseMaxp()
S
74 1 5
CrmErpSolution::initializeTabs()
S
79 1 3
CrmErpSolutionUsers::column_cb()
S
73 1 6
tFPDF::_put()
S
80 1 3
CRMUsers::getTicketsCountbyUser()
S
79 1 3
tFPDF::_getoffset()
S
80 1 3
TTFontFile::_set_ushort()
S
75 1 4
tFPDF::Header()
S
100 1 2
CRMUsers::getEmailsbyUser()
S
77 1 3
CrmErpSolutionDocuments::__construct()
S
72 1 5
CRMUsers::menu_page()
S
73 1 4
CrmErpSolution::SettingsPage()
S
72 1 4
CrmErpSolutionAppointments::addColumnHeader()
S
69 1 6
FPDF::GetPageHeight()
S
83 1 3
TTFParser::Error()
S
81 1 3
CrmErpSolutionInit::proAddon()
S
77 1 3
FPDF::_getoffset()
S
80 1 3
TTFParser::ParseHhea()
S
72 1 5
TTFontFile::get_table_pos()
S
72 1 5
FPDF::Header()
S
100 1 2
TTFontFile::read_tag()
S
76 1 4
CrmErpSolutionTransactions::column_default()
S
80 1 3
PDF::px2mm()
S
80 1 3
CrmErpSolutionTransactions::__construct()
S
69 1 7
tFPDF::_putheader()
S
80 1 3
FPDF::AliasNbPages()
S
82 1 3
TTFontFile::skip()
S
76 1 4
TTFParser::ReadULong()
S
74 1 4
FPDF::_dounderline()
S
67 1 6
CrmErpSolution::Links()
S
68 1 6
tFPDF::_putresources()
S
67 1 9
CrmErpSolutionReports::transactions_report()
S
78 1 4
CrmErpSolutionInvoice::__construct()
S
72 1 5
FPDF::SetXY()
S
76 1 4
tFPDF::GetPageWidth()
S
83 1 3
CrmErpSolutionUsers::__construct()
S
69 1 7
TTFontFile::get_ushort()
S
71 1 5
FPDF::_readint()
S
74 1 4
TTFontFile::read_ushort()
S
71 1 5
FPDF::Error()
S
80 1 3
tFPDF::_endpage()
S
81 1 3
FPDF::Line()
S
76 1 3
Error()
S
77 1 4
CrmErpSolutionInit::adminHeader()
S
62 1 10
Warning()
S
80 1 3
tFPDF::PageNo()
S
83 1 3
CrmErpSolutionProducts::stockField()
S
73 1 5
CRMUsers::extra_columns()
S
66 1 8
tFPDF::GetPageHeight()
S
83 1 3
FPDF::_putstream()
S
74 1 5
CrmErpSolutionTransactions::column_cb()
S
72 1 6
PDF::CellFitScale()
S
77 1 3
tFPDF::AliasNbPages()
S
82 1 3
FPDF::SetAutoPageBreak()
S
73 1 5
CrmErpSolution::translate()
S
77 1 3
PDF::txtentities()
S
73 1 5
TTFontFile::seek()
S
76 1 4

66 more item(s) not shown.