-
Home
-
AMP
-
2.5.3
-
Code
-
Classes
- AMP_Instagram_Embed_Handler
Total Complexity |
26 |
Dependencies |
6 |
Dependents |
1 |
Total lines |
229 |
Lines of code |
122 |
Logical lines of code |
47 |
Comment lines |
69 |
Methods |
8 |
Properties |
4 |
Methods 8
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
sanitize_embed_script() |
A |
52 |
11 |
24 |
sanitize_raw_embeds() |
S |
57 |
5 |
16 |
create_amp_instagram_and_replace_node() |
S |
50 |
3 |
30 |
render() |
S |
51 |
2 |
31 |
get_instagram_id_from_url() |
S |
68 |
2 |
7 |
register_embed() |
S |
77 |
1 |
3 |
unregister_embed() |
S |
79 |
1 |
3 |
oembed() |
S |
68 |
1 |
8 |