Widget_Video A

Total Complexity 70
Dependencies 9
Dependents 0
Total lines 1,385
Lines of code 1,090
Logical lines of code 216
Comment lines 158
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
register_controls()
D
12
1 790
render()
C
32 21 109
get_embed_params()
A
40 13 62
get_hosted_params()
A
52 8 25
get_hosted_video_url()
S
55 7 21
get_embed_options()
S
62 3 11
render_hosted_video()
S
65 2 10
get_videopress_video_url()
S
68 2 7
has_image_overlay()
S
73 2 4
render_plain_content()
S
65 2 9
print_a11y_text()
S
67 2 7
get_upsale_data()
S
62 1 11
get_title()
S
79 1 3
get_keywords()
S
77 1 3
get_categories()
S
81 1 3
get_icon()
S
82 1 3
get_params_dictionary_for_videopress()
S
66 1 9
get_name()
S
82 1 3