Repository S

Total Complexity 44
Dependencies 3
Dependents 4
Total lines 278
Lines of code 213
Logical lines of code 127
Comment lines 24
Methods 29
Properties 2

Methods 29

Method Rating Maintainability Complexity Lines of code
migrate_data_to_new_table()
S
52 6 24
create_advance_file()
S
56 4 19
remove_private_links()
S
61 3 12
delete_advance_file_by_post_id()
S
70 3 6
set_prevent_files()
S
63 2 10
un_protect_files()
S
62 2 10
is_protected_file()
S
66 2 7
update_advance_file_by_id()
S
72 1 5
get_private_links_by_post_id_and_type_is_null()
S
66 1 9
get_all_data_of_old_table()
S
68 1 7
get_protected_posts()
S
70 1 6
update_customize_private_link_by_post_id()
S
71 1 5
update_private_link_by_post_id()
S
70 1 6
check_advance_file_limitation()
S
72 1 5
update_advance_file_by_post_id()
S
70 1 6
__construct()
S
73 1 5
delete_advance_file()
S
78 1 3
get_advance_file_by_url()
S
74 1 4
get_protected_post()
S
70 1 6
get_advance_files_by_host_id()
S
72 1 5
get_status_advance_file_by_post_id()
S
69 1 6
get_advance_file_by_post_id()
S
72 1 5
get_file_by_name()
S
68 1 7
get_post_by_guid()
S
66 1 8
get_post_meta_by_post_id()
S
68 1 7
get_post_meta_by_value()
S
66 1 8
get_post_by_id()
S
77 1 4
unset_all_links()
S
75 1 4
get_advance_file_by_id()
S
74 1 4