Mementor_TTS_ElevenLabs_API D

Total Complexity 164
Dependencies 3
Dependents 3
Total lines 1,177
Lines of code 697
Logical lines of code 406
Comment lines 304
Methods 24
Properties 7

Methods 24

Method Rating Maintainability Complexity Lines of code
text_to_speech()
C
28
25 132
validate_api_key()
B
34 16 94
get_voices()
A
37 14 75
get_friendly_error_message()
A
48 14 31
get_api_key_to_use()
A
47 13 36
__construct()
A
46 9 38
log_message()
A
52 8 24
set_api_key()
S
50 7 27
send_request()
S
46 6 39
make_request()
S
46 6 38
sanitize_api_key()
S
54 7 21
parse_error_response()
S
57 7 15
make_api_request_with_retry()
S
51 6 27
get_models()
S
50 4 31
is_valid_api_key_format()
S
63 5 10
debug_log()
S
71 4 5
clear_cache()
S
58 3 15
get_user_info()
S
62 3 12
get_instance()
S
70 2 7
reset_instance()
S
73 1 5
get_api_key()
S
80 1 3
__clone()
S
91 1 2
__wakeup()
S
80 1 3
format_api_error_response()
S
70 1 7