Code Analysis: Cheshire Cat Chatbot 0.8.2

Function Rating Maintainability Complexity Lines of code
cheshirecat_meowww_page()
D
7
66 645
webgrafia\cheshirecat\inc\classes\Custom_Cheshire_Cat::get_context_information()
D
20
55 187
cheshirecat_configuration_page()
D
21
26 272
cheshirecat_style_page()
C
27
22 174
cheshirecat_declarative_memory_sync_page()
B
27
8 249
cheshirecat_upload_to_declarative_memory()
B
38 18 63
cheshirecat_playground_page()
B
29
5 239
cheshirecat_add_global_chat()
B
45 17 39
cheshirecat_is_chatbot_enabled_on_page()
B
45 17 38
cheshirecat_overview_page()
A
33 10 120
webgrafia\cheshirecat\inc\classes\Custom_Cheshire_Cat::sendMessage()
A
41 14 54
cheshirecat_get_posts_count()
A
41 14 54
cheshirecat_process_message()
A
46 14 32
cheshirecat_process_posts_batch()
A
43 11 48
cheshirecat_save_predefined_responses_meta_box()
A
49 12 29
cheshirecat_send_to_declarative_memory()
A
47 11 34
cheshirecat_delete_from_declarative_memory()
A
50 10 27
cheshirecat_admin_enqueue_scripts()
A
37 5 86
cheshirecat_handle_post_trash()
A
52 9 23
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
cheshirecat_handle_post_deletion()
S
55 7 19
webgrafia\cheshirecat\inc\classes\Custom_Cheshire_Cat::getStatus()
S
57 7 17
cheshirecat_enqueue_scripts()
S
42 3 57
cheshirecat_get_predefined_responses_with_override()
S
57 5 17
cheshirecat_predefined_responses_meta_box_callback()
S
50 3 30
cheshirecat_get_predefined_responses()
S
58 4 15
cheshirecat_admin_menu()
S
45 1 59
cheshirecat_generate_dynamic_css()
S
45 1 52
cheshirecat_tinymce_enqueue_scripts()
S
57 3 18
cheshirecat_admin_add_websocket_url()
S
63 4 9
cheshirecat_get_context_information()
S
59 3 12
webgrafia\cheshirecat\inc\classes\Custom_Cheshire_Cat::getAvailablePlugins()
S
63 3 11
cheshirecat_register_meta_boxes()
S
61 2 13
cheshirecat_add_websocket_url()
S
69 2 6
webgrafia\cheshirecat\inc\classes\Custom_Cheshire_Cat_Client::__construct()
S
63 1 11
cheshirecat_get_welcome_message()
S
69 1 7
cheshirecat_register_tinymce_plugin()
S
76 1 4
webgrafia\cheshirecat\inc\classes\Custom_Cheshire_Cat::setFromEditor()
S
81 1 3
webgrafia\cheshirecat\inc\classes\Custom_Cheshire_Cat_Client::getBaseUrl()
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_Client::getToken()
S
82 1 3
cheshirecat_display_welcome_message()
S
74 1 4
webgrafia\cheshirecat\inc\classes\Custom_Cheshire_Cat::getClient()
S
82 1 3
webgrafia\cheshirecat\inc\classes\Custom_Cheshire_Cat::getContextInformation()
S
81 1 3
webgrafia\cheshirecat\inc\classes\Custom_Cheshire_Cat::__construct()
S
73 1 5
webgrafia\cheshirecat\inc\classes\Custom_Cheshire_Cat::create_client()
S
79 1 3