WP_To_Social_Pro_Publish D

Total Complexity 182
Dependencies 1
Dependents 1
Total lines 1,970
Lines of code 812
Logical lines of code 458
Comment lines 853
Methods 33
Properties 3

Methods 33

Method Rating Maintainability Complexity Lines of code
publish()
C
29
25 130
parse_text()
B
34 21 91
build_args()
B
38 22 68
transition_post_status()
B
38 20 67
send()
B
35 14 93
apply_text_transformation()
A
50 10 31
wp_insert_post_update()
S
49 6 30
get_default_tag_params()
S
48 5 34
get_content()
S
52 5 25
validate()
S
52 4 27
wp_insert_post_publish()
S
54 4 23
is_rest_api_request()
S
63 4 12
is_gutenberg_request()
S
63 4 12
apply_character_limit()
S
62 4 11
get_post_image()
S
57 3 16
apply_sentence_limit()
S
57 3 16
get_excerpt()
S
59 3 15
get_permalink()
S
60 3 13
apply_word_limit()
S
64 3 9
register_post_searches_replacements()
S
58 2 14
register_taxonomy_searches_replacements()
S
67 2 7
register_all_possible_searches_replacements()
S
63 2 10
can_apply_character_limit_to_tag()
S
68 2 7
is_gutenberg_post_content()
S
71 2 6
convert_to_plain_text()
S
61 1 12
__construct()
S
71 1 5
get_short_permalink()
S
71 1 5
get_date()
S
71 1 5
get_title()
S
72 1 5
register_publish_hooks()
S
78 1 3
rest_api_post_update()
S
81 1 3
rest_api_post_publish()
S
81 1 3
clear_search_replacements()
S
77 1 4