Library_Viewer_Shortcode D

Total Complexity 148
Dependencies 0
Dependents 0
Total lines 2,061
Lines of code 649
Logical lines of code 410
Comment lines 1,107
Methods 61
Properties 9

Methods 61

Method Rating Maintainability Complexity Lines of code
__construct()
A
41 15 52
is_current_folder_accessible()
A
51 9 25
print_containing_files()
A
42 7 51
print_containing_folders()
S
43 5 47
print_breadcrumb()
S
46 5 37
hook()
S
57 6 16
have_access()
S
60 6 14
get_file_anchor_html()
S
51 4 27
shortcode_html_contents()
S
54 4 20
print_error_messages()
S
51 3 26
save_shortcode_parameters_in_db()
S
62 4 11
errors_exists_in_current_folder()
S
64 4 11
print_folder_text_at_beginning()
S
60 3 14
print_folder_text_at_end()
S
60 3 14
Library_Viewer_Shortcode__init_parameters_default_values()
S
59 3 13
is_current_folder_hidden()
S
61 3 12
exists_in_array()
S
64 3 10
is_shortcode_reused()
S
63 3 10
init_parameter_my_doc_viewer()
S
67 3 7
init_global_current_page_url()
S
59 2 13
print_folder_contents()
S
61 2 12
get_full_current_url()
S
76 2 3
is_folder_hidden()
S
64 2 10
rtrim()
S
70 2 6
ltrim()
S
70 2 6
init_parameter_have_file_access()
S
70 2 6
is_file_hidden()
S
67 2 8
init_parameter_login_page()
S
77 2 3
init_parameters()
S
70 2 7
is_dir_accessible()
S
69 2 7
is_no_acceptable_parameters_exists()
S
64 2 10
init_global_dir()
S
69 2 6
convert_string_to_array()
S
69 1 7
http_build_query()
S
71 1 6
basename()
S
69 1 6
get_go_back_button_html()
S
79 1 3
get_need_to_login_button()
S
78 1 3
get_need_to_login_url()
S
77 1 3
path_prefix()
S
82 1 3
get_create_actions_html()
S
82 1 3
get_file_actions_html()
S
82 1 3
get_folder_actions_html()
S
82 1 3
have_folder_access()
S
82 1 3
Library_Viewer_Shortcode__rest_globals()
S
74 1 4
get_dir_name()
S
82 1 3
init_global_file_fake_path_symbols()
S
70 1 5
Library_Viewer_Shortcode__filter_allowed_globals()
S
79 1 3
Library_Viewer_Shortcode__filter_allowed_parameters()
S
79 1 3
Library_Viewer_Shortcode__init_globals_before_init_parameters()
S
80 1 3
init_global_file_identifier()
S
79 1 3
init_global_folder_fake_path_symbols()
S
70 1 5
init_global_folder_real_path_symbols()
S
70 1 5
init_global_file_real_path_symbols()
S
70 1 5
get_encrypted_path()
S
82 1 3
init_global_real_path()
S
78 1 3
init_global_have_folder_access()
S
80 1 3
get_folder_name()
S
65 1 10
get_folder_fake_link()
S
65 1 10
get_folder_real_link()
S
66 1 9
get_file_fake_link()
S
65 1 10
trim()
S
73 1 5