Code Analysis: BravoWP Helpdesk 2.2.1

Function Rating Maintainability Complexity Lines of code
ajax_frontend_tickets_insert()
C
30 23 121
ajax_admin_tickets_insert()
C
32 22 111
bwhd_systemlog_addentry()
A
50 17 28
bwhd_install_dbobjects()
A
34 9 126
bwhd_controllers_tickets_update()
A
39 10 67
bwhd_controllers_status_returnlabelclass()
A
45 11 48
bwhd_systemlog_readlogfile()
A
45 10 44
ajax_admin_settings_emailtoticket_updatesettings()
A
41 9 57
ajax_admin_tickets_message_save()
A
42 9 54
bwhd_controllers_woocommerce_products_listforcurrentuser()
A
43 9 52
bwhd_mailboxes_startmailboxescheckjob()
A
42 7 56
ajax_admin_tickets_list()
A
47 8 41
bwhd_controllers_tickets_getopenedvsclosedperdaterange()
A
44 7 46
ajax_admin_tickets_save()
A
45 7 45
ajax_frontend_tickets_messages_save()
S
45 6 42
bwhd_controllers_tickets_insert()
S
38 3 82
ajax_admin_installwizard_finish()
S
45 5 43
bwhd_mailboxes_processmessages()
S
45 5 41
bwhd_controllers_tickets_gethumanreadableticketcreationmode()
S
57 6 22
bwhd_controllers_messages_listforticketsviewpagefrontend()
S
47 5 35
ajax_admin_settings_tables_save()
S
48 5 35
bwhd_controllers_tickets_listforticketslistpage()
S
43 4 48
bwhd_light_wordpress_load()
S
41 3 62
bwhd_controllers_customers_listfordashboardticketcreate()
S
44 4 46
bwhd_utility_returndatearray()
S
52 4 24
bwhd_controllers_woocommerce_products_list()
S
53 4 23
ajax_admin_settings_tables_delete()
S
53 4 23
bwhd_controllers_priorities_returndescription()
S
56 4 20
bwhd_controllers_status_returndescription()
S
56 4 20
bwhd_globals_hasuseragentpermissions()
S
59 4 18
bwhd_controllers_messages_listforticketsviewpagedashboard()
S
48 3 32
ajax_admin_settings_save()
S
49 3 30
bwhd_controllers_tickets_listforticketslistpage_frontend()
S
50 3 29
bwhd_controllers_messages_insert()
S
46 2 44
bwhd_controllers_tickets_listfordashboardlast5tickets()
S
50 3 27
bwhd_controllers_agents_list()
S
52 3 24
bwhd_controllers_categories_list()
S
53 3 23
ajax_admin_settings_tables_get()
S
54 3 21
ajax_admin_settings_tables_list()
S
56 3 18
ajax_frontend_tickets_messages_load()
S
56 3 18
ajax_frontend_tickets_get()
S
56 3 18
ajax_admin_tickets_message_load()
S
56 3 18
bwhd_loadlibraries()
S
50 2 33
ajax_admin_tickets_getsingle()
S
56 3 18
ajax_admin_systemlog_list()
S
58 3 17
bwhd_globals_woocommerceactive()
S
58 3 17
ajax_admin_systemlog_clear()
S
57 3 17
bwhd_demo_is_active()
S
59 3 17
bwhd_demo_forceadmincapabilities()
S
59 3 17
bwhd_globals_proversionactive()
S
60 3 15
bwhd_utility_checkdateinrange()
S
58 3 15
bwhd_controllers_status_list()
S
51 2 28
bwhd_install_default_notification_records()
S
62 3 13
bwhd_mailboxes_connect()
S
59 3 13
bwhd_controllers_tickets_getsingleforticketdetailspage()
S
50 2 27
bwhd_systemlog_helper::CheckFileReadableWritable()
S
63 3 12
bwhd_utility_truncatetext()
S
61 3 12
bwhd_globals_adddashboardpage()
S
61 3 12
bwhd_controllers_tickets_getsingleforeditpagefrontend()
S
52 2 25
bwhd_controllers_categories_insert()
S
52 2 25
bwhd_controllers_priorities_list()
S
53 2 25
bwhd_controllers_tickets_getforsendingnotification()
S
52 2 24
bwhd_controllers_categories_update()
S
54 2 22
bwhd_controllers_tickets_getresponseandsolutioninfo()
S
53 2 22
bwhd_globals_includeresources_adminpages()
S
47 1 35
bwhd_controllers_categories_get()
S
55 2 20
bwhd_install_default_categories_records()
S
56 2 19
bwhd_controllers_categories_delete()
S
56 2 19
bwhd_controllers_customers_getsingle()
S
55 2 19
ajax_admin_tickets_getcounters()
S
56 2 18
bwhd_globals()
S
56 2 18
bwhd_controllers_tickets_getagentassignedinfo()
S
57 2 17
bwhd_controllers_tickets_gettotalclosedticket()
S
57 2 17
bwhd_controllers_tickets_gettotalassignedtoagent()
S
57 2 17
bwhd_controllers_tickets_gettotalopenticket()
S
58 2 16
bwhd_admin_settings_emailtoticket_test()
S
58 2 16
bwhd_systemlog_helper::lopen()
S
70 3 5
ajax_admin_tickets_loadopenedvsclosedchart()
S
59 2 15
bwhd_utility_formatdatetime()
S
61 2 13
ajax_frontend_tickets_list()
S
61 2 13
bwhd_globals_includeresources_frontendpages()
S
53 1 21
bwhd_globals_scheduletimes()
S
57 1 19
bwhd_systemlog_clearlogfile()
S
66 2 9
bwhd_placeholders_addonavailable()
S
59 1 15
bwhd_systemlog_helper::lwrite()
S
66 2 8
bwhd_placeholders_dashboardlastfiveticketsnodata()
S
61 1 12
bwhd_placeholders_dashboardchartnodata()
S
61 1 12
bwhd_systemlog_helper::lfile()
S
81 1 3
bwhd_ajax_return_reponse()
S
65 1 10
bwhd_globals_adddashboardpage_callback()
S
76 1 4
bwhd_placeholders_nodatanoaddon()
S
72 1 5
bwhd_systemlog_helper::lclose()
S
81 1 3
bwhd_globals_includefrontendpage()
S
69 1 7
bwhd_globals_buildarrayconstantsforscripts()
S
64 1 9
bwhd_registration_redirect()
S
78 1 4
bwhd_mailboxes_startmailboxescheckjobfromschedule()
S
74 1 5