Jetpack_Tweetstorm_Helper D

Total Complexity 222
Dependencies 13
Dependents 2
Total lines 1,735
Lines of code 869
Logical lines of code 523
Comment lines 490
Methods 28
Properties 8

Methods 28

Method Rating Maintainability Complexity Lines of code
extract_tag_content_from_html()
C
33 29 87
add_text_to_tweets()
C
32 28 102
get_boundary()
B
32 18 110
generate_cards()
B
35 15 87
extract_attr_content_from_html()
A
42 14 50
add_media_to_tweets()
A
44 13 46
clean_return_tweets()
A
43 13 45
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
is_ascii()
S
64 4 10
extract_tweet_from_block()
S
65 4 9
add_tweet_to_tweets()
S
63 3 11
validate_redirect_url()
S
65 3 8
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