-
Home
-
AMP
-
2.2.0
-
Code
-
Classes
- AMP_YouTube_Embed_Handler
Total Complexity |
58 |
Dependencies |
8 |
Dependents |
1 |
Total lines |
477 |
Lines of code |
236 |
Logical lines of code |
127 |
Comment lines |
143 |
Methods |
13 |
Properties |
2 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_video_id_from_url() |
A |
46 |
14 |
36 |
prepare_attributes() |
A |
47 |
9 |
34 |
get_amp_component() |
S |
52 |
7 |
24 |
get_start_time_from_url() |
S |
52 |
6 |
26 |
get_placeholder_element() |
S |
50 |
3 |
30 |
sanitize_raw_embeds() |
S |
56 |
3 |
19 |
filter_embed_oembed_html() |
S |
64 |
4 |
10 |
render() |
S |
61 |
3 |
11 |
video_override() |
S |
63 |
3 |
11 |
get_placeholder_markup() |
S |
55 |
2 |
19 |
__construct() |
S |
66 |
2 |
8 |
register_embed() |
S |
74 |
1 |
4 |
unregister_embed() |
S |
74 |
1 |
4 |