TTA_Helper D

Total Complexity 195
Dependencies 3
Dependents 10
Total lines 952
Lines of code 594
Logical lines of code 358
Comment lines 162
Methods 38
Properties 0

Methods 38

Method Rating Maintainability Complexity Lines of code
should_load_button()
B
40 24 54
is_file_url_not_exists_and_is_file_empty()
B
44 20 40
get_mp3_file_urls()
B
42 18 49
get_mp3_file_urls_old()
A
46 15 37
tts_get_settings()
A
43 12 46
display_player_based_on_user_role()
A
49 11 30
get_compatible_plugins_data()
A
43 7 51
tts_file_name()
S
52 7 23
is_exluded_by_terms()
S
57 6 16
get_all_acf_fields()
S
59 5 15
handle_old_url()
S
57 4 17
get_player_id()
S
63 5 9
get_text_value()
S
64 4 9
is_text_to_audio_page()
S
65 4 9
is_edit_page()
S
66 4 9
get_language_code_from_url()
S
59 3 13
get_all_tags()
S
60 3 13
sazitize_content()
S
61 3 12
get_all_categories()
S
62 3 11
tts_get_voice()
S
63 3 9
set_tts_transient()
S
64 3 9
check_all_properties_are_empty()
S
67 3 8
tts_get_file_url_key()
S
67 3 7
get_path_from_url()
S
59 2 14
all_post_status()
S
66 2 8
tts_site_language()
S
68 2 7
tts_post_type()
S
75 2 4
set_default_settings()
S
70 2 6
is_audio_folder_writable()
S
67 2 8
tts_post_status()
S
75 2 4
remove_shortcodes()
S
67 2 8
tts_strip_all_tags()
S
71 2 6
is_pro_license_active()
S
71 2 6
is_signed_url_expired()
S
67 1 7
clean_string()
S
65 1 8
get_player_language_and_player_voice()
S
70 1 6
is_pro_active()
S
80 1 3
is_acf_active()
S
80 1 3