UpdraftCentral_Posts_Commands D

Total Complexity 350
Dependencies 8
Dependents 0
Total lines 2,016
Lines of code 1,362
Logical lines of code 822
Comment lines 377
Methods 38
Properties 2

Methods 38

Method Rating Maintainability Complexity Lines of code
save()
D
19
61 194
get_postdata()
D
25
36 144
get_editor_styles()
D
30 37 102
get()
B
37 20 68
get_preload_data()
A
41 13 49
get_tags()
A
37 11 71
apply_state()
A
45 12 42
get_categories()
A
38 10 71
get_options()
A
39 10 68
set_state()
A
48 12 31
filter_url()
A
48 11 28
get_iframed_editor_assets()
A
43 9 53
get_parent_pages()
A
48 10 31
pre_validation()
A
52 10 25
get_authors()
A
45 9 38
add_category()
A
47 8 36
attach_remote_image()
A
46 7 38
extract_css_content()
A
52 8 22
add_tag()
A
48 7 31
take_over()
S
56 5 18
_pre_action()
S
67 5 7
trim_object()
S
62 4 12
get_taxonomies_terms()
S
52 3 24
update_font_src()
S
56 3 17
map_tax()
S
65 4 8
get_state_fields_by_type()
S
54 2 22
_validate_capabilities()
S
72 3 5
_wp_object_count_sort_cb()
S
70 3 6
extract_custom_fonts()
S
59 2 14
trim_parent_info()
S
60 2 13
get_post_status_counts()
S
56 1 19
get_taxonomies()
S
57 1 18
assign_category_to_post()
S
66 2 8
assign_tag_to_post()
S
66 2 8
_post_action()
S
80 2 3
resolve_path()
S
68 2 6
sort_tag_cloud()
S
68 2 7
get_date_options()
S
72 1 5