Mementor_TTS_Processor D

Total Complexity 252
Dependencies 9
Dependents 4
Total lines 1,575
Lines of code 994
Logical lines of code 684
Comment lines 353
Methods 20
Properties 4

Methods 20

Method Rating Maintainability Complexity Lines of code
generate_audio()
D
15
60 271
get_content_from_html()
D
22
53 168
generate_shortcode_audio()
D
20
45 202
save_audio_file()
B
40 16 55
cleanup_directory()
A
46 13 38
process_text()
A
41 10 55
log_message()
A
57 10 15
needs_audio_generation()
A
48 7 34
get_voice_settings()
S
49 6 29
get_filesystem()
S
54 6 23
init()
S
59 5 14
generate_filename()
S
54 4 21
__construct()
S
56 4 17
is_descendant()
S
65 3 10
process_batch()
S
60 2 14
get_instance()
S
71 2 6
cleanup_audio_files()
S
64 2 9
initialize_api()
S
74 2 5
add_to_media_library()
S
83 1 3
update_post_audio_meta()
S
72 1 5