Code Analysis: CRM ERP Business Solution | freelancers & SME 1.12

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
57 118
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
CrmErpSolutionReports::customers()
C
32 28 92
FPDF::_putfonts()
C
31 27 106
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
CrmErpSolution::__construct()
B
33 18 96
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
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
CrmErpSolutionAppointments::saveFields()
A
49 13 30
CRMUsers::getTransactionbyUser()
A
37 10 75
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
CRMUsers::ajaxEvent()
S
45 1 97
CrmErpSolutionProducts::filter_products()
S
52 6 22
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::SetDrawColor()
S
65 6 8
tFPDF::SetFillColor()
S
63 6 9
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::displayTotalDueEarn()
S
56 4 17
CrmErpSolutionReports::displayTotalPaid()
S
56 4 17
CrmErpSolutionReports::displayTotalPay()
S
56 4 17
CrmErpSolutionReports::displayTotalEarned()
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
CrmErpSolution::notification()
S
56 3 22
TTFParser::ParseOS2()
S
55 3 20
CrmErpSolutionAppointments::displayCalendar()
S
52 1 49
CrmErpSolutionProducts::searchfilter()
S
56 3 17
CRMUsers::__construct()
S
44 1 47
LoadMap()
S
56 3 16
FPDF::Rect()
S
63 4 9
CrmErpSolutionDocuments::tableInstall()
S
52 2 30
CrmErpSolutionDocuments::headingsBackground()
S
64 4 10
CrmErpSolutionDocuments::generalColor()
S
64 4 10
FPDF::_httpencode()
S
62 4 10
CrmErpSolutionDocuments::headingsColor()
S
64 4 10
CrmErpSolutionDocuments::thankyouColor()
S
64 4 10
CRMTransactions::validate()
S
67 4 7
TTFParser::ParseHmtx()
S
59 3 15
tFPDF::_httpencode()
S
62 4 10
CrmErpSolutionDocuments::deleteDocument()
S
64 4 9
PDF::SetStyle()
S
63 4 10
tFPDF::Rect()
S
63 4 9
CrmErpSolutionProducts::searchProductForm()
S
64 4 9
FPDF::_enddoc()
S
51 2 29
tFPDF::_enddoc()
S
51 2 29
TTFontFile::calcChecksum()
S
59 3 13
CRMUsers::extraFilters()
S
54 2 28
CrmErpSolutionAppointments::addEvent()
S
59 3 13
CrmErpSolutionInit::notice()
S
61 3 13
CrmErpSolutionTransactions::get_bulk_actions()
S
60 3 13
CrmErpSolutionInit::wooInt()
S
62 3 13
TTFontFile::sub32()
S
61 3 12
TTFParser::Subset()
S
63 3 12
CrmErpSolutionDocuments::invoiceThankyou()
S
62 3 11
FPDF::Close()
S
63 3 11
CrmErpSolutionDocuments::invoiceStart()
S
62 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
CrmErpSolutionProducts::crmerpbs_products_cpt_messages()
S
52 2 22
CrmErpSolutionInit::adminPanels()
S
46 1 37
CrmErpSolutionAppointments::crmerpbs_app_cpt_messages()
S
52 2 22
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::SetFontSize()
S
66 3 8
tFPDF::_dochecks()
S
70 3 6
CrmErpSolutionInit::companyVat()
S
63 3 10
FPDF::SetLink()
S
68 3 7
CRMTransactions::updatePaidInvoice()
S
57 2 15
CrmErpSolutionInit::deleteTables()
S
66 3 8
TTFontFile::readTableDirectory()
S
59 2 15
CrmErpSolutionInit::companyPhone()
S
63 3 10
CrmErpSolutionInit::deleteSettings()
S
66 3 8
CrmErpSolutionInit::companyMobile()
S
63 3 10
CrmErpSolutionInit::enableOffers()
S
66 3 8
FPDF::_isascii()
S
65 3 9
tFPDF::SetY()
S
67 3 8
CrmErpSolutionInit::companyAddress()
S
64 3 8
tFPDF::SetLink()
S
68 3 7
tFPDF::SetLeftMargin()
S
73 3 5
CrmErpSolutionInit::defaultVat()
S
63 3 10
FPDF::SetLeftMargin()
S
73 3 5
FPDF::SetFontSize()
S
66 3 8
tFPDF::_isascii()
S
65 3 9
FPDF::SetY()
S
67 3 8
CrmErpSolutionInit::companyName()
S
63 3 10
CrmErpSolutionDocuments::activateReceipts()
S
66 3 8
CrmErpSolutionInit::onlySelectDocuments()
S
66 3 8
CrmErpSolutionInit::enableAppointments()
S
66 3 8
FPDF::_putstreamobject()
S
60 2 14
TTFontFile::getHMetric()
S
59 2 14
tFPDF::_putstreamobject()
S
60 2 14
CrmErpSolutionAppointments::displayAppointments()
S
61 2 13
CrmErpSolutionReports::total()
S
61 2 11
CrmErpSolutionReports::totalBalance()
S
61 2 11
TTFParser::CheckSum()
S
61 2 11
CrmErpSolutionDocuments::adminPanels()
S
53 1 21
CrmErpSolutionProducts::column_order()
S
58 1 16
CRMUsers::getTransactionTotalbyUser()
S
65 2 8
PDF::Header()
S
70 2 6
CRMUsers::getTransactionOffersbyUser()
S
65 2 8
TTFParser::BuildHmtx()
S
65 2 9
TTFParser::LoadTable()
S
66 2 8
TTFontFile::pack_short()
S
67 2 8
tFPDF::_parsepng()
S
66 2 8
CrmErpSolution::redirectOnActivation()
S
70 2 6
TTFParser::Read()
S
78 2 3
CrmErpSolutionInit::checkPrice()
S
65 2 9
FPDF::Ln()
S
69 2 7
CRMUsers::getUsername()
S
74 2 4
CrmErpSolutionDocuments::invoiceNotes()
S
63 2 9
tFPDF::SetCompression()
S
71 2 6
CrmErpSolutionInit::enableTickets()
S
67 2 8
FPDF::SetAuthor()
S
78 2 3
CrmErpSolutionDocuments::tableCheck()
S
74 2 5
CrmErpSolutionProducts::init()
S
69 2 6
TTFParser::__destruct()
S
77 2 4
FPDF::SetLineWidth()
S
72 2 5
CrmErpSolutionTransactions::get_sortable_columns()
S
59 1 15
CRMTransactions::get_instance()
S
73 2 5
CrmErpSolutionUsers::get_instance()
S
73 2 5
tFPDF::SetSubject()
S
78 2 3
FPDF::_putresourcedict()
S
63 2 10
FPDF::SetTitle()
S
78 2 3
FPDF::SetCreator()
S
78 2 3
tFPDF::Ln()
S
69 2 7
CrmErpSolution::get_instance()
S
73 2 5
CRMTransactions::tableCheck()
S
74 2 5
FPDF::SetX()
S
71 2 6
FPDF::SetMargins()
S
69 2 7
CRMTransactions::getUsername()
S
74 2 4
FPDF::_textstring()
S
72 2 5
CrmErpSolutionAppointments::getUsername()
S
74 2 4
CRMUsers::get_customer_total_order_count()
S
72 2 5
CrmErpSolutionProducts::get_instance()
S
73 2 5
FPDF::_putimages()
S
67 2 8
CrmErpSolutionDocuments::invoicePrefix()
S
67 2 8
CrmErpSolutionReports::get_instance()
S
73 2 5
FPDF::_dochecks()
S
75 2 4
TTFontFile::_set_short()
S
65 2 9
CRMUsers::checkExistingVat()
S
65 2 8
CrmErpSolutionInit::enableActions()
S
67 2 8
PDF::Footer()
S
64 2 9
TTFontFile::add()
S
70 2 6
tFPDF::SetTitle()
S
78 2 3
tFPDF::_putimages()
S
67 2 8
TTFontFile::get_chunk()
S
72 2 5
tFPDF::SetLineWidth()
S
72 2 5
CrmErpSolutionInit::enableStock()
S
67 2 8
TTFParser::SetTable()
S
64 2 9
tFPDF::SetKeywords()
S
78 2 3
FPDF::_putxobjectdict()
S
74 2 4
tFPDF::_putinfo()
S
68 2 6
FPDF::SetKeywords()
S
78 2 3
tFPDF::_textstring()
S
72 2 5
CrmErpSolutionReports::woo_report()
S
71 2 5
CRMUsers::get_customer_total_order()
S
71 2 5
TTFParser::__construct()
S
72 2 5
CRMUsers::getTransactionOwnedbyUser()
S
65 2 8
FPDF::SetCompression()
S
71 2 6
SaveToFile()
S
68 2 7
FPDF::_putinfo()
S
68 2 6
tFPDF::SetAuthor()
S
78 2 3
FPDF::_newobj()
S
70 2 6
tFPDF::UTF8ToUTF16BE()
S
67 2 8
TTFontFile::unpack_short()
S
67 2 7
crm_price()
S
72 2 5
CrmErpSolutionDocuments::checkDocument()
S
67 2 7
CRMUsers::get_instance()
S
73 2 5
FPDF::GetStringWidth()
S
64 2 9
TTFParser::ReadShort()
S
67 2 7
tFPDF::_putxobjectdict()
S
74 2 4
tFPDF::SetCreator()
S
78 2 3
tFPDF::SetMargins()
S
69 2 7
TTFontFile::get_table()
S
68 2 6
tFPDF::_putresourcedict()
S
63 2 10
TTFontFile::read_short()
S
66 2 7
FPDF::_parsepng()
S
66 2 8
TTFParser::Seek()
S
71 2 5
FPDF::SetSubject()
S
78 2 3
tFPDF::_newobj()
S
70 2 6
tFPDF::SetX()
S
71 2 6
CrmErpSolutionInit::general_options()
S
57 1 14
TTFParser::Parse()
S
63 1 13
CrmErpSolutionInvoice::hex2dec()
S
60 1 13
CrmErpSolutionUsers::column_name()
S
59 1 13
CrmErpSolutionAppointments::column_order()
S
62 1 12
CrmErpSolutionInit::rating()
S
66 1 11
CRMUsers::getTicketsCountbyUser()
S
79 1 3
CrmErpSolutionUsers::column_cb()
S
73 1 6
CrmErpSolutionUsers::column_default()
S
82 1 3
PDF::txtentities()
S
73 1 5
CrmErpSolutionReports::transactions_report()
S
78 1 4
tFPDF::GetPageWidth()
S
83 1 3
TTFParser::Error()
S
81 1 3
FPDF::_puttrailer()
S
72 1 5
Notice()
S
80 1 3
CrmErpSolutionAppointments::metaBox()
S
77 1 3
CrmErpSolution::push_not()
S
80 1 3
CRMUsers::getEmailsbyUser()
S
77 1 3
TTFParser::ReadULong()
S
74 1 4
FPDF::_readint()
S
74 1 4
Warning()
S
80 1 3
CrmErpSolutionInvoice::__construct()
S
72 1 5
CrmErpSolution::Links()
S
68 1 6
FPDF::Error()
S
80 1 3
CrmErpSolutionUsers::__construct()
S
69 1 7
CrmErpSolutionTransactions::column_default()
S
80 1 3
PDF::__construct()
S
63 1 10
FPDF::PageNo()
S
83 1 3
CRMUsers::getActionsbyUser()
S
77 1 3
TTFontFile::get_ushort()
S
71 1 5
FPDF::Header()
S
100 1 2
CrmErpSolutionAppointments::init()
S
78 1 3
FPDF::_putheader()
S
80 1 3
FPDF::_endpage()
S
81 1 3
PDF::CellFitScaleForce()
S
77 1 3
FPDF::Line()
S
76 1 3
FPDF::AcceptPageBreak()
S
83 1 3
Error()
S
77 1 4
tFPDF::AcceptPageBreak()
S
83 1 3
FPDF::Link()
S
76 1 3
CrmErpSolutionUsers::get_bulk_actions()
S
71 1 6
PDF::CellFitSpaceForce()
S
77 1 3
tFPDF::PageNo()
S
83 1 3
tFPDF::SetRightMargin()
S
82 1 3
FPDF::AliasNbPages()
S
82 1 3
CrmErpSolution::notification_hook()
S
79 1 3
CrmErpSolution::SettingsPage()
S
72 1 4
PDF::px2mm()
S
80 1 3
FPDF::SetRightMargin()
S
82 1 3
tFPDF::_endpage()
S
81 1 3
tFPDF::SetTopMargin()
S
82 1 3
CrmErpSolutionProducts::wholesaleInList()
S
81 1 3
FPDF::GetPageWidth()
S
83 1 3
tFPDF::_putheader()
S
80 1 3
CRMUsers::getDiscount()
S
91 1 2
CRMUsers::init()
S
78 1 3
tFPDF::GetX()
S
83 1 3
tFPDF::_puttrailer()
S
72 1 5
CrmErpSolutionProducts::menu_page()
S
77 1 3
CrmErpSolutionDocuments::__construct()
S
72 1 5
CrmErpSolutionUsers::get_sortable_columns()
S
66 1 9
tFPDF::_getoffset()
S
80 1 3
CrmErpSolutionAppointments::menu_page()
S
78 1 3
CrmErpSolutionTransactions::column_cb()
S
72 1 6
TTFParser::ReadUShort()
S
74 1 4
tFPDF::Line()
S
76 1 3
CrmErpSolutionInit::userDiscount()
S
74 1 5
PDF::CellFitScale()
S
77 1 3
CrmErpSolutionTransactions::__construct()
S
69 1 7
tFPDF::Header()
S
100 1 2

75 more item(s) not shown.