Media_File_Organizer_Path_Provider A

Total Complexity 54
Dependencies 3
Dependents 1
Total lines 392
Lines of code 166
Logical lines of code 99
Comment lines 153
Methods 22
Properties 7

Methods 22

Method Rating Maintainability Complexity Lines of code
get_attachment_post_id()
S
53 6 22
get_extension()
S
62 5 11
create()
S
61 4 14
sanitize()
S
60 4 13
is_valid_file_name()
S
60 4 13
get_system_path()
S
64 3 11
__construct()
S
69 3 6
get_uploads_path()
S
63 3 10
get_attachment_post()
S
67 3 8
has_attachment_post()
S
69 3 7
is_parent()
S
68 2 7
get_levels()
S
74 2 4
is_root()
S
79 2 3
get_base()
S
66 2 8
exists()
S
80 1 3
__toString()
S
81 1 3
get_relative_path()
S
82 1 3
is_file()
S
80 1 3
get_url()
S
72 1 5
get_parent()
S
70 1 6
append()
S
79 1 3
is_folder()
S
80 1 3