MxChat_Knowledge_Manager D

Total Complexity 590
Dependencies 8
Dependents 2
Total lines 3,724
Lines of code 2,515
Logical lines of code 1,536
Comment lines 585
Methods 55
Properties 1

Methods 55

Method Rating Maintainability Complexity Lines of code
mxchat_extract_main_content()
D
25
40 157
mxchat_process_sitemap_urls_cron()
D
26
34 153
mxchat_handle_sitemap_submission()
D
25
25 185
mxchat_process_pdf_pages_cron()
D
28
28 137
ajax_mxchat_get_content_list()
C
29 29 113
mxchat_generate_embedding()
C
30 28 116
mxchat_format_acf_field_value()
C
37 30 71
ajax_mxchat_process_selected_content()
C
29 24 122
mxchat_scan_pinecone_for_processed_content()
B
34 21 90
mxchat_handle_post_update()
B
37 21 67
mxchat_render_pdf_status_card()
B
39 16 61
mxchat_render_sitemap_status_card()
B
38 15 63
mxchat_fetch_pinecone_vectors_by_ids()
A
39 14 62
mxchat_get_pinecone_processed_content()
A
42 13 51
mxchat_process_pdf_pages_direct()
A
39 12 65
mxchat_handle_post_delete()
A
45 13 40
mxchat_handle_sitemap_for_knowledge_base()
A
37 10 81
mxchat_get_sitemap_processing_status()
A
48 13 29
mxchat_store_product_embedding()
A
43 11 47
mxchat_ajax_get_status_updates()
A
49 12 29
mxchat_handle_pdf_for_knowledge_base()
A
41 10 55
mxchat_manual_process_sitemap_batch()
A
44 10 42
mxchat_handle_content_submission()
A
44 10 42
mxchat_handle_pinecone_prompt_delete()
A
42 9 53
mxchat_extract_text_from_acf_array()
A
53 11 22
mxchat_render_failed_urls_list()
A
41 9 50
mxchat_get_pdf_processing_status()
A
47 10 32
mxchat_save_inline_prompt()
A
44 9 42
ajax_mxchat_delete_pinecone_prompt()
A
45 8 43
mxchat_render_completed_status_cards()
A
56 9 18
mxchat_manual_process_pdf_batch()
A
48 8 32
ajax_manual_batch_process()
A
49 8 29
mxchat_ajax_dismiss_completed_status()
A
50 8 26
mxchat_render_failed_pages_list()
S
46 6 37
mxchat_delete_from_pinecone_by_url()
S
50 5 29
mxchat_stop_processing()
S
52 5 26
mxchat_process_single_url_direct()
S
54 4 20
mxchat_get_embedding_credentials()
S
55 4 20
mxchat_handle_product_delete()
S
55 4 19
mxchat_handle_product_change()
S
61 4 13
mxchat_get_acf_fields_for_post()
S
65 4 10
mxchat_sanitize_content_for_api()
S
51 2 27
mxchat_init_hooks()
S
52 2 24
mxchat_validate_nonce()
S
71 3 5
mxchat_get_single_url_status()
S
63 3 10
mxchat_check_user_permissions()
S
72 2 5
get_instance()
S
69 2 7
mxchat_get_public_post_types()
S
66 2 8
mxchat_update_pinecone_vector_cache()
S
68 2 7
mxchat_is_pdf_url()
S
70 2 5
mxchat_get_options()
S
71 2 6
mxchat_log_processing_error()
S
91 1 2
mxchat_set_admin_notice()
S
78 1 3
mxchat_get_pinecone_manager()
S
81 1 3
__construct()
S
76 1 4