Mementor_TTS_Public D

Total Complexity 242
Dependencies 2
Dependents 4
Total lines 1,768
Lines of code 1,035
Logical lines of code 637
Comment lines 460
Methods 34
Properties 8

Methods 34

Method Rating Maintainability Complexity Lines of code
get_player_html()
D
29
31 108
render_player()
C
31 24 98
enqueue_scripts()
C
31 23 106
generate_audio_for_post()
A
40 12 60
inject_player_after_title_before_excerpt()
A
45 12 42
inject_player_after_title_fallback()
A
43 11 48
output_player()
A
45 11 41
output_player_after_title()
A
47 10 37
should_post_have_player()
A
48 10 31
should_load_assets()
A
52 8 22
get_audio_url()
A
48 7 33
enqueue_styles()
S
50 7 30
maybe_add_player_to_content()
S
52 7 26
__construct()
S
48 6 34
add_player_to_elementor_content()
S
52 6 26
add_automatic_player()
S
54 6 24
log_debug()
S
58 6 14
filter_should_load_assets()
S
62 6 12
protect_player_html()
S
57 5 17
setup_content_filters()
S
59 5 14
get_dynamic_css_variables()
S
42 2 56
inject_player_into_output()
S
53 4 22
prevent_autop_on_player()
S
59 4 13
add_dynamic_css()
S
62 3 12
maybe_buffer_output()
S
62 3 11
maybe_clear_dynamic_css_cache()
S
54 2 24
process_content()
S
62 2 12
get_player_container_classes()
S
63 2 11
localize_player_script()
S
53 1 24
get_supported_post_types()
S
68 2 7
raw_shortcode()
S
72 1 5
add_safe_style_css()
S
77 1 4
clear_dynamic_css_cache()
S
81 1 3
prepare_content_for_tts()
S
66 1 8