Code Analysis: WordPress to SuiteCRM Lead 5.4

Function Rating Maintainability Complexity Lines of code
Fields_Map_Table::process_bulk_action()
D
31 43 90
WP2SL_WidgetForm()
C
31 24 109
WP2SL_Grid_Ajax_Action_callback()
B
40 21 58
WP2SLSugarCRMClass::InsertLeadToSugar()
B
37 19 70
WP2SL_FieldSynchronize()
B
34 16 88
OEPL_Lead_Widget::widget()
B
34 16 85
WP2SL_saveConfig()
B
44 18 38
WP2SL_getHTMLElement()
A
43 12 43
Fields_Map_Table::column_default()
A
45 12 40
Fields_Map_Table::prepare_items()
A
44 11 40
OEPL_Lead_Widget::form()
A
45 7 40
WP2SL_TestSugarConn()
A
52 8 22
WP2SLSugarCRMClass::SugarCall()
A
48 7 31
WP2SL_save_custom_order_callback()
S
55 7 17
WP2SL_GeneralSettingSave()
S
50 6 25
WP2SL_Custom_Field_Save()
S
46 5 38
WP2SL_plugin_update_function()
S
54 6 21
WP2SLSugarCRMClass::IsUserAdministrator()
S
58 6 16
Fields_Map_Table::extra_tablenav()
S
61 7 9
WP2SLSugarCRMClass::get_size()
S
57 5 18
WP2SL_save_custom_label_callback()
S
56 5 15
WP2SL_GeneralMessagesSave()
S
55 4 18
WP2SL_save_custom_css()
S
57 4 15
WP2SL_PluginStyleJS()
S
52 3 25
WP2SLSugarCRMClass::LoginToSugar()
S
54 3 20
WP2SL_Custom_Field_Delete()
S
58 3 15
WP2SLSugarCRMClass::ErrorLogWrite()
S
59 3 13
WP2SLSugarCRMClass::getLeadFieldsList()
S
61 3 13
WP2SL_SugarCRM_Submenu_function()
S
50 1 36
OEPL_Lead_Widget::update()
S
67 3 7
WP2SLSugarCRMClass::wp2sl_activate()
S
53 1 29
WP2SL_LeadFieldSync()
S
60 2 13
WP2SL_HaleFooterHTML()
S
56 1 20
WP2SLSugarCRMClass::__construct()
S
54 1 17
WP2SL_frontend_script_load()
S
57 1 17
NumFrmtForTraget()
S
70 2 6
Fields_Map_Table::search_box()
S
65 2 9
WP2SL_CreateMenu()
S
67 2 7
Fields_Map_Table::get_bulk_actions()
S
59 1 15
NumFrmt()
S
70 2 6
OEPL_CRM_Lead_Form()
S
61 1 14
Fields_Map_Table::get_columns()
S
63 1 11
WP2SL_SugarSettings()
S
80 1 3
WP2SL_Change_Upload_Dir()
S
70 1 6
OEPL_Lead_Widget_init()
S
82 1 3
Fields_Map_Table::get_sortable_columns()
S
64 1 10
WP2SL_set_mail_contenttype()
S
83 1 3
OEPL_Lead_Widget::__construct()
S
69 1 7
Fields_Map_Table::__construct()
S
67 1 8
WP2SL_Activate()
S
77 1 4
WP2SLSugarCRMClass::LogoutToSugar()
S
64 1 10