Mementor_TTS_Player_Position_Manager D

Total Complexity 134
Dependencies 1
Dependents 1
Total lines 618
Lines of code 362
Logical lines of code 232
Comment lines 154
Methods 21
Properties 7

Methods 21

Method Rating Maintainability Complexity Lines of code
should_display_player()
C
38 28 58
maybe_inject_at_beginning()
C
38 27 60
init()
A
46 10 38
maybe_output_before_title()
A
55 10 20
player_shortcode()
S
47 6 37
maybe_append_to_content()
S
59 5 14
cleanup_player_p_tags()
S
56 4 18
maybe_inject_after_excerpt_check()
S
57 4 17
get_player_html()
S
61 4 13
reset_player_state()
S
67 4 8
maybe_prepend_to_content_after_excerpt()
S
65 4 9
display_player_action()
S
63 3 11
get_instance()
S
66 3 9
is_elementor_page()
S
64 3 10
maybe_append_after_excerpt()
S
66 3 9
output_player_for_action()
S
67 3 8
custom_position_before_title()
S
72 3 5
custom_position_after_title()
S
72 3 5
custom_position_after_excerpt()
S
72 3 5
custom_position_after_content()
S
72 3 5
__construct()
S
81 1 3