Jetpack_Tweetstorm_Helper D

Total Complexity 218
Dependencies 11
Dependents 2
Total lines 1,736
Lines of code 870
Logical lines of code 522
Comment lines 491
Methods 29
Properties 8

Methods 29

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
generate_cards()
A
37 12 82
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
extract_media_from_block()
A
45 8 43
gather()
A
48 8 33
is_within_twitter_length()
A
49 7 32
permissions_check()
S
53 7 22
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
extract_tweet_from_block()
S
65 4 9
is_ascii()
S
64 4 10
add_tweet_to_tweets()
S
63 3 11
utf_16_code_unit_length()
S
69 2 6
get_block_definition()
S
70 2 6
validate_redirect_url()
S
72 2 5
start_new_tweet()
S
62 1 12
is_valid_alt_text()
S
78 1 3
get_current_tweet()
S
80 1 3
generate_url_placeholder()
S
73 1 4
is_valid_tweet()
S
78 1 3