UpdraftCentral_Posts_Commands D

Total Complexity 246
Dependencies 2
Dependents 0
Total lines 1,504
Lines of code 1,021
Logical lines of code 588
Comment lines 282
Methods 29
Properties 1

Methods 29

Method Rating Maintainability Complexity Lines of code
save_post()
D
24
47 155
get_postdata()
C
28
27 126
get_posts()
B
38 18 64
get_tags()
A
38 11 70
apply_state()
A
46 12 41
get_categories()
A
38 10 71
set_state()
A
49 11 29
filter_url()
A
48 11 28
get_options()
A
40 8 64
get_parent_pages()
A
48 10 31
get_editor_styles()
A
49 9 31
add_category()
A
46 8 36
get_authors()
A
47 8 32
attach_remote_image()
A
46 7 38
extract_css_content()
A
52 8 22
add_tag()
A
48 7 31
get_preload_data()
S
50 4 29
_pre_action()
S
67 5 7
trim_object()
S
62 4 12
get_taxonomies_terms()
S
52 3 24
map_tax()
S
65 4 8
_validate_capabilities()
S
72 3 5
get_post_status_counts()
S
56 1 19
get_taxonomies()
S
57 1 18
assign_category_to_post()
S
66 2 8
_post_action()
S
80 2 3
assign_tag_to_post()
S
66 2 8
resolve_path()
S
68 2 6
get_date_options()
S
72 1 5