EPKB_AI_Content_Processor A

Total Complexity 68
Dependencies 2
Dependents 4
Total lines 621
Lines of code 322
Logical lines of code 176
Comment lines 196
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
process_attachment()
B
36 19 86
generate_title_from_content()
S
51 7 25
apply_length_limit()
S
55 6 19
extract_image_content()
S
56 5 17
extract_text_file_content()
S
58 5 15
clean_content()
S
53 4 24
build_attachment_metadata()
S
53 4 23
prepare_post()
S
57 3 17
get_max_attachment_size()
S
56 2 18
is_supported_attachment_type()
S
64 3 10
get_supported_mime_types()
S
59 1 16
extract_pdf_content()
S
66 2 8
extract_doc_content()
S
66 2 8
strip_shortcodes_keep_content()
S
70 1 6
normalize_whitespace()
S
63 1 10
build_post_metadata()
S
65 1 9
get_post_language_code()
S
72 1 5
clean_post_title()
S
69 1 6