-
Home
-
AMP
-
2.2.1
-
Code
-
Classes
- AMP_Twitter_Embed_Handler
Total Complexity |
41 |
Dependencies |
4 |
Dependents |
1 |
Total lines |
275 |
Lines of code |
135 |
Logical lines of code |
82 |
Comment lines |
94 |
Methods |
8 |
Properties |
4 |
Methods 8
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
sanitize_embed_script() |
A |
52 |
11 |
24 |
oembed_timeline() |
A |
47 |
9 |
38 |
create_amp_twitter_and_replace_node() |
A |
48 |
7 |
34 |
sanitize_raw_embeds() |
S |
57 |
5 |
16 |
is_tweet_raw_embed() |
S |
67 |
4 |
7 |
get_tweet_id() |
S |
63 |
3 |
10 |
register_embed() |
S |
77 |
1 |
3 |
unregister_embed() |
S |
79 |
1 |
3 |