Mementor_TTS_ElevenLabs_API D

Total Complexity 288
Dependencies 7
Dependents 3
Total lines 1,709
Lines of code 1,040
Logical lines of code 620
Comment lines 408
Methods 29
Properties 9

Methods 29

Method Rating Maintainability Complexity Lines of code
get_api_key_to_use()
D
27
55 114
text_to_speech()
D
21
43 203
get_friendly_error_message()
B
43 24 42
pro_has_sufficient_credits()
B
43 22 38
validate_api_key()
B
34 16 94
is_valid_api_key_format()
B
34 16 93
get_voices()
A
37 13 78
can_use_shared_api_key()
A
52 11 22
parse_error_response()
A
53 11 20
__construct()
A
45 9 40
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
make_api_request_with_retry()
S
51 6 27
get_models()
S
50 4 31
debug_log()
S
71 4 5
delete_voice()
S
58 3 15
clear_cache()
S
58 3 15
get_user_info()
S
62 3 12
get_instance()
S
70 2 7
show_encryption_error_notice()
S
68 2 9
get_decrypted_shared_key()
S
72 2 6
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