Code Analysis: Zendesk Chat 1.4.18

Function Rating Maintainability Complexity Lines of code
Services_JSON::decode()
D
19
67 192
Services_JSON::encode()
D
28
36 125
Zopim_Admin::zopim_account_config()
A
43 13 48
Zopim_Login::do_login()
A
42 11 50
Zopim_Widget::zopimme()
A
48 10 32
Services_JSON::utf82utf16()
S
55 5 19
Services_JSON::utf162utf8()
S
55 5 18
Zopim_Options::get_widget_options()
S
53 4 25
Services_JSON::isError()
S
63 5 10
Zopim_Notices::do_notices()
S
61 4 12
Zopim_Linked_View::update_widget_options()
S
61 3 11
Zopim_Linked_View::deactivate_plugin()
S
62 3 10
Zopim_Admin::zendesk_authenticate()
S
59 2 14
Zopim_Admin::zopim_post_request()
S
61 2 12
Zopim_Login::set_messages()
S
56 1 18
Zopim_Notices::get_instance()
S
72 2 6
Zopim_Notices::add_notice()
S
68 2 7
Zopim::get_instance()
S
73 2 5
Zopim_Widget::get_widget_code_using_subdomain()
S
64 2 9
Zopim::__construct()
S
66 2 8
Zopim::autoload()
S
65 2 8
Services_JSON::name_value()
S
69 2 7
Zopim_Admin::get_instance()
S
73 2 5
Zopim_Linked_View::display_linked_view()
S
65 2 8
Zopim_Linked_View::set_messages()
S
59 1 14
Zopim_Admin::zopim_get_account_details()
S
74 1 4
Services_JSON_Error::__construct()
S
68 1 9
Zopim_Login::display_login_form()
S
74 1 4
Zopim_Admin::load_zopim_style()
S
70 1 6
Services_JSON::Services_JSON()
S
82 1 3
Zopim_Notices::get_notices()
S
82 1 3
Zopim_Notices::_notice()
S
73 1 7
json_encode()
S
73 1 5
Services_JSON::__construct()
S
82 1 3
Zopim_Template::load_template()
S
70 1 6
Zopim_Admin::add_zopim_caps()
S
76 1 4
Services_JSON_Error::__construct()
S
68 1 9
Zopim_Base_View::set_messages()
S
100 1 0
Zopim_Admin::__construct()
S
70 1 6
Services_JSON_Error::Services_JSON_Error()
S
78 1 3
Zopim_Linked_View::display_linked_view_using_subdomain()
S
73 1 4
Zopim_Base_View::get_message()
S
80 1 3
Zopim_Base_View::__construct()
S
82 1 3
Zopim::get_asset()
S
75 1 4
Zopim::load_textdomain()
S
77 1 3
json_decode()
S
73 1 5
Zopim_Admin::register_zopim_plugin_settings()
S
73 1 5
Services_JSON_Error::Services_JSON_Error()
S
100 1 2
Zopim_Admin::zopim_create_menu()
S
76 1 3
Services_JSON::reduce_string()
S
68 1 8