WPBDP_Utils B

Total Complexity 77
Dependencies 0
Dependents 24
Total lines 481
Lines of code 292
Logical lines of code 171
Comment lines 119
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
media_upload()
A
43 15 43
is_valid_upload()
A
48 9 32
check_cache()
A
47 8 36
get_all_ids()
S
52 6 24
attach_image_to_media_library()
S
48 5 32
is_valid_file_type()
S
57 4 16
get_file_id()
S
62 4 12
get_mimetype()
S
61 3 12
get_file_contrstraints()
S
57 2 18
get_group_cached_keys()
S
68 3 7
cache_delete_group()
S
65 3 9
is_empty_value()
S
77 3 3
get_sort_value()
S
74 2 4
table_has_col()
S
66 2 7
table_drop_col()
S
69 2 6
normalize()
S
68 1 7
sort_by_property()
S
72 1 5
set_cache()
S
74 1 4
table_exists()
S
71 1 5
sort_by_property_callback()
S
73 1 5
add_key_to_group_cache()
S
72 1 5