MLAMime D

Total Complexity 442
Dependencies 3
Dependents 8
Total lines 2,940
Lines of code 1,681
Logical lines of code 1,046
Comment lines 914
Methods 56
Properties 17

Methods 56

Method Rating Maintainability Complexity Lines of code
_get_upload_mime_templates()
D
21
48 203
_execute_upload_items_query()
D
31 40 98
mla_update_upload_mime()
D
29
28 136
_execute_view_items_query()
C
37 27 69
mla_update_post_mime_type()
C
36 23 79
_execute_optional_upload_items_query()
B
39 23 59
mla_add_upload_mime()
A
39 13 67
mla_upload_mimes_filter()
A
43 13 47
mla_get_icon_type_size()
A
43 13 46
mla_mime_types_filter()
A
43 13 44
mla_ext2type_filter()
A
42 12 51
_prepare_upload_items_query()
A
43 12 47
initialize()
A
45 12 39
_prepare_view_items_query()
A
44 11 43
_prepare_optional_upload_items_query()
A
44 11 43
mla_add_post_mime_type()
A
43 10 50
mla_post_mime_types_filter()
A
46 10 35
mla_pluck_table_views()
A
52 9 25
_get_post_mime_templates()
A
46 8 37
_get_current_icon_types()
A
47 8 32
_get_optional_upload_mime_templates()
A
46 7 38
_put_upload_mime_templates()
A
53 8 22
mla_delete_upload_mime()
S
51 5 30
mla_getimagesize_mimes_to_exts_filter()
S
58 6 14
mla_tabulate_upload_items()
S
46 4 40
mla_delete_post_mime_type()
S
53 4 25
_get_core_icon_types()
S
54 4 20
mla_wp_check_filetype_and_ext_filter()
S
55 4 17
_put_post_mime_templates()
S
60 4 13
mla_get_post_mime_type_slug()
S
63 4 11
mla_get_icon_type_image()
S
52 3 23
mla_get_upload_mime_slug()
S
64 4 10
mla_wp_mime_type_icon_filter()
S
63 4 10
mla_get_post_mime_type()
S
63 3 11
mla_get_optional_upload_mime()
S
67 3 8
mla_get_upload_mime()
S
64 3 10
mla_sanitize_mime_type_filter()
S
64 3 9
mla_get_core_icon_type()
S
67 3 8
_localize_default_upload_columns()
S
57 1 16
mla_get_current_icon_types()
S
71 2 6
_get_sortable_upload_columns()
S
68 2 7
_get_sortable_view_columns()
S
68 2 7
_get_sortable_upload_optional_columns()
S
68 2 7
_localize_default_view_columns()
S
59 1 13
mla_icon_dir_uri_filter()
S
80 1 3
mla_query_upload_items()
S
72 1 5
mla_icon_dir_filter()
S
80 1 3
_localize_default_upload_optional_columns()
S
63 1 10
mla_icon_dirs_filter()
S
75 1 4
mla_parse_view_specification()
S
80 1 3
mla_prepare_view_query()
S
79 1 3
mla_query_view_items()
S
72 1 5
mla_count_view_items()
S
72 1 5
mla_count_optional_upload_items()
S
72 1 5
mla_query_optional_upload_items()
S
72 1 5
mla_count_upload_items()
S
72 1 5