Mementor_TTS_ElevenLabs_API D

Total Complexity 148
Dependencies 3
Dependents 3
Total lines 948
Lines of code 584
Logical lines of code 342
Comment lines 219
Methods 18
Properties 7

Methods 18

Method Rating Maintainability Complexity Lines of code
get_voices()
D
28
40 120
text_to_speech()
D
27
31 140
validate_api_key()
A
38 13 70
make_request()
A
40 13 57
__construct()
A
43 10 48
log_message()
A
52 8 24
parse_error_response()
S
57 7 15
set_api_key()
S
53 5 23
get_models()
S
50 4 31
debug_log()
S
71 4 5
get_user_info()
S
62 3 12
get_api_key_to_use()
S
63 3 11
get_instance()
S
66 2 9
reset_instance()
S
73 1 5
clear_cache()
S
71 1 6
get_api_key()
S
80 1 3
__clone()
S
91 1 2
__wakeup()
S
80 1 3