-
Home
-
AMP
-
2.1.4
-
Code
-
Classes
- AMP_Twitter_Embed_Handler
| Total Complexity |
35 |
| Dependencies |
4 |
| Dependents |
0 |
| Total lines |
246 |
| Lines of code |
123 |
| Logical lines of code |
71 |
| Comment lines |
82 |
| Methods |
8 |
| Properties |
2 |
Methods 8
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| sanitize_embed_script() |
A |
52 |
11 |
24 |
| oembed_timeline() |
S |
49 |
6 |
32 |
| sanitize_raw_embeds() |
S |
57 |
5 |
16 |
| create_amp_twitter_and_replace_node() |
S |
51 |
4 |
28 |
| 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 |