AMPforWP_YouTube_Embed_Handler S

Total Complexity 28
Dependencies 1
Dependents 0
Total lines 159
Lines of code 110
Logical lines of code 62
Comment lines 16
Methods 10
Properties 4

Methods 10

Method Rating Maintainability Complexity Lines of code
get_video_id_from_url()
A
51 8 27
render()
S
52 4 23
shortcode()
S
57 4 17
video_override()
S
63 3 11
__construct()
S
66 2 8
get_scripts()
S
72 2 6
sanitize_v_arg()
S
70 2 6
register_embed()
S
71 1 5
unregister_embed()
S
75 1 4
oembed()
S
80 1 3