CUAR_PrivateFileAddOn D

Total Complexity 184
Dependencies 2
Dependents 2
Total lines 1,320
Lines of code 785
Logical lines of code 354
Comment lines 307
Methods 44
Properties 5

Methods 44

Method Rating Maintainability Complexity Lines of code
ajax_attach_file()
C
36 26 73
ajax_update_attached_file_meta()
B
40 21 54
ajax_remove_attached_file()
B
41 19 52
handle_file_actions()
A
41 15 55
is_folder_accessible_from_web()
A
46 7 36
move_legacy_files()
S
51 6 26
print_current_attachments_manager()
S
48 5 35
add_attached_file()
S
50 5 29
before_post_deleted()
S
52 5 25
register_custom_types()
S
37 1 80
get_file_path()
S
57 5 17
get_file_download_count()
S
57 5 16
is_dir_empty()
S
59 5 15
get_attached_file_by_name()
S
61 4 14
run_addon()
S
51 3 25
increment_file_download_count()
S
58 3 16
get_file_source()
S
65 4 8
get_file_caption()
S
65 4 8
get_attached_files()
S
60 3 14
remove_missing_files()
S
61 3 12
get_attached_file()
S
64 3 11
get_configurable_capability_groups()
S
49 1 34
get_file_type()
S
67 3 7
get_file_name()
S
68 3 7
print_add_attachment_method_browser()
S
62 2 11
get_ftp_path()
S
67 2 8
update_legacy_file_meta()
S
64 2 10
print_attachment_manager_scripts()
S
64 2 10
filter_storage_path()
S
75 2 4
add_js_messages()
S
61 1 13
get_addon_name()
S
79 1 3
register_private_post_types()
S
77 1 4
register_content_type()
S
65 1 9
get_file_permalink()
S
69 1 6
set_default_options()
S
68 1 7
is_enabled()
S
80 1 3
get_custom_storage_path()
S
80 1 3
save_attached_files()
S
79 1 3
get_attached_file_count()
S
76 1 4
remove_orphan_files()
S
80 1 3
compute_file_id()
S
74 1 4
get_file_size()
S
71 1 5
get_max_attachment_count()
S
79 1 3
__construct()
S
80 1 3