-
Home
-
AMP
-
2.1.4
-
Code
-
Classes
- AMP_Instagram_Embed_Handler
Total Complexity |
26 |
Dependencies |
6 |
Dependents |
0 |
Total lines |
227 |
Lines of code |
120 |
Logical lines of code |
46 |
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 |
29 |
render() |
S |
51 |
2 |
30 |
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 |