Code Analysis: Cheshire Cat Chatbot 0.6.3

Function Rating Maintainability Complexity Lines of code
webgrafia\cheshirecat\inc\classes\Custom_Cheshire_Cat::get_context_information()
D
20
55 187
cheshirecat_configuration_page()
D
20
28 291
cheshirecat_style_page()
C
28
21 162
cheshirecat_playground_page()
B
29
5 239
cheshirecat_add_global_chat()
B
45 17 39
webgrafia\cheshirecat\inc\classes\Custom_Cheshire_Cat::sendMessage()
A
42 13 50
cheshirecat_save_predefined_responses_meta_box()
A
52 10 24
cheshirecat_process_message()
A
49 9 26
cheshirecat_admin_enqueue_scripts()
A
40 5 72
cheshirecat_add_predefined_responses_to_content()
S
49 7 30
cheshirecat_add_predefined_responses_after_product_short_description()
S
49 7 29
cheshirecat_chat_shortcode()
S
47 6 39
webgrafia\cheshirecat\inc\classes\Custom_Cheshire_Cat::getStatus()
S
57 7 17
webgrafia\cheshirecat\inc\classes\Custom_Cheshire_Cat::getAvailablePlugins()
S
57 7 17
cheshirecat_overview_page()
S
46 3 48
cheshirecat_get_predefined_responses_with_override()
S
57 5 17
cheshirecat_enqueue_scripts()
S
47 3 42
cheshirecat_generate_dynamic_css()
S
45 1 52
cheshirecat_tinymce_enqueue_scripts()
S
59 3 15
cheshirecat_admin_menu()
S
48 1 43
cheshirecat_predefined_responses_meta_box_callback()
S
57 2 17
cheshirecat_get_predefined_responses()
S
63 3 10
cheshirecat_register_meta_boxes()
S
61 2 13
webgrafia\cheshirecat\inc\classes\Custom_Cheshire_Cat_Client::__construct()
S
63 1 11
webgrafia\cheshirecat\inc\classes\Custom_Cheshire_Cat_Client::getToken()
S
82 1 3
cheshirecat_add_tinymce_button()
S
77 1 4
webgrafia\cheshirecat\inc\classes\Custom_Cheshire_Cat::setPageContext()
S
77 1 4
webgrafia\cheshirecat\inc\classes\Custom_Cheshire_Cat::create_client()
S
79 1 3
webgrafia\cheshirecat\inc\classes\Custom_Cheshire_Cat::setFromEditor()
S
81 1 3
cheshirecat_register_tinymce_plugin()
S
76 1 4
webgrafia\cheshirecat\inc\classes\Custom_Cheshire_Cat_Client::getBaseUrl()
S
82 1 3
webgrafia\cheshirecat\inc\classes\Custom_Cheshire_Cat::__construct()
S
73 1 5
cheshirecat_display_welcome_message()
S
74 1 4
cheshirecat_get_welcome_message()
S
69 1 7