Code Analysis: Text to Speech – TTSWP 3.0.2

Most Complex Functions

Function Rating Complexity
MTTS\MTTS/includes\Mementor_TTS_Ajax::generate_audio()
D
234
\Mementor_TTS_Processor::get_content_from_html()
D
104
Mementor_TTS\Mementor_TTS/includes\Mementor_TTS_Shortcodes::render_tts_shortcode()
D
94
\Mementor_TTS_Processor::generate_audio()
D
86
Mementor_TTS\Mementor_TTS/includes\Mementor_TTS_ElevenLabs_API::get_api_key_to_use()
D
84
\Mementor_TTS_Processor::generate_shortcode_audio()
D
56
Mementor_TTS\Mementor_TTS/includes\Mementor_TTS_ElevenLabs_API::text_to_speech()
D
52
Mementor_TTS\Mementor_TTS/admin\Mementor_TTS_Admin::enqueue_styles()
D
47
Mementor_TTS\Mementor_TTS/admin\Mementor_TTS_Admin::enqueue_scripts()
D
39
Mementor_TTS\Mementor_TTS/includes\Mementor_TTS_Player_Position_Manager::maybe_inject_at_beginning()
D
51
MTTS\MTTS/includes\Mementor_TTS_Ajax::save_settings()
D
48
Mementor_TTS\Mementor_TTS/admin\Mementor_TTS_Admin::bulk_generate_audio_ajax()
D
44