-
Home
-
AMP
-
2.2.4
-
Code
-
Classes
- AMP_YouTube_Embed_Handler
Total Complexity |
63 |
Dependencies |
9 |
Dependents |
1 |
Total lines |
503 |
Lines of code |
252 |
Logical lines of code |
135 |
Comment lines |
150 |
Methods |
14 |
Properties |
2 |
Methods 14
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 |
25 |
get_start_time_from_url() |
S |
52 |
6 |
26 |
get_placeholder_element() |
S |
50 |
3 |
30 |
video_override() |
S |
60 |
4 |
14 |
amend_fixed_height_layout() |
S |
63 |
4 |
11 |
sanitize_raw_embeds() |
S |
56 |
3 |
19 |
filter_embed_oembed_html() |
S |
64 |
4 |
10 |
render() |
S |
60 |
3 |
12 |
get_placeholder_markup() |
S |
55 |
2 |
19 |
__construct() |
S |
66 |
2 |
8 |
register_embed() |
S |
74 |
1 |
4 |
unregister_embed() |
S |
74 |
1 |
4 |