Library_Viewer_Shortcode D

Total Complexity 127
Dependencies 0
Dependents 0
Total lines 1,936
Lines of code 589
Logical lines of code 379
Comment lines 1,077
Methods 52
Properties 9

Methods 52

Method Rating Maintainability Complexity Lines of code
__construct()
A
41 15 52
print_containing_files()
A
43 7 50
print_containing_folders()
S
43 5 47
print_breadcrumb()
S
46 5 37
is_current_folder_accessible()
S
56 6 18
hook()
S
57 6 16
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
is_shortcode_reused()
S
63 3 10
exists_in_array()
S
64 3 10
init_global_current_page_url()
S
59 2 13
print_folder_contents()
S
61 2 12
is_dir_accessible()
S
69 2 7
is_folder_hidden()
S
64 2 10
init_global_dir()
S
77 2 3
init_parameter_login_page()
S
77 2 3
init_parameter_my_doc_viewer()
S
77 2 3
init_parameter_have_file_access()
S
70 2 6
init_parameters()
S
70 2 7
is_no_acceptable_parameters_exists()
S
64 2 10
is_file_hidden()
S
67 2 8
path_prefix()
S
82 1 3
init_global_folder_fake_path_symbols()
S
70 1 5
convert_string_to_array()
S
67 1 8
basename()
S
69 1 6
init_global_real_path()
S
78 1 3
http_build_query()
S
71 1 6
get_dir_name()
S
82 1 3
get_folder_actions_html()
S
82 1 3
get_file_fake_link()
S
65 1 10
get_file_actions_html()
S
82 1 3
get_encrypted_path()
S
82 1 3
Library_Viewer_Shortcode__filter_allowed_parameters()
S
79 1 3
get_folder_real_link()
S
66 1 9
get_folder_fake_link()
S
65 1 10
get_folder_name()
S
65 1 10
Library_Viewer_Shortcode__rest_globals()
S
74 1 4
Library_Viewer_Shortcode__filter_allowed_globals()
S
79 1 3
Library_Viewer_Shortcode__init_globals_before_init_parameters()
S
80 1 3
init_global_folder_real_path_symbols()
S
70 1 5
init_global_file_identifier()
S
79 1 3
get_go_back_button_html()
S
79 1 3
init_global_file_fake_path_symbols()
S
70 1 5
init_global_file_real_path_symbols()
S
70 1 5
get_create_actions_html()
S
82 1 3