Jetpack_Tweetstorm_Helper D

Total Complexity 206
Dependencies 8
Dependents 2
Total lines 1,664
Lines of code 826
Logical lines of code 504
Comment lines 471
Methods 27
Properties 8

Methods 27

Method Rating Maintainability Complexity Lines of code
extract_tag_content_from_html()
C
33 29 87
add_text_to_tweets()
C
33 25 102
get_boundary()
B
32 19 110
extract_attr_content_from_html()
A
42 14 50
clean_return_tweets()
A
43 13 45
add_media_to_tweets()
A
45 11 43
extract_text_from_block()
A
44 11 42
generate_cards()
A
40 9 65
extract_media_from_block()
A
45 8 43
gather()
A
48 8 33
is_within_twitter_length()
A
49 7 32
extract_embed_from_block()
S
54 7 20
parse()
S
53 6 24
save_current_tweet()
S
56 6 17
add_embed_to_tweets()
S
56 5 16
extract_blocks()
S
56 4 18
get_site_id()
S
61 4 12
is_ascii()
S
64 4 10
extract_tweet_from_block()
S
65 4 9
add_tweet_to_tweets()
S
63 3 11
utf_16_code_unit_length()
S
69 2 6
get_block_definition()
S
70 2 6
start_new_tweet()
S
62 1 12
is_valid_tweet()
S
78 1 3
is_valid_alt_text()
S
78 1 3
get_current_tweet()
S
80 1 3
generate_url_placeholder()
S
73 1 4