Phoenix_Media_Rename D

Total Complexity 171
Dependencies 5
Dependents 1
Total lines 1,252
Lines of code 646
Logical lines of code 380
Comment lines 405
Methods 39
Properties 2

Methods 39

Method Rating Maintainability Complexity Lines of code
do_rename()
C
30 24 110
clear_filename()
B
40 22 56
validate()
A
54 12 17
ajax_pnx_rename()
A
42 9 53
file_parts()
A
43 8 48
update_posts()
A
50 8 25
update_metadata()
S
52 7 26
delete_files()
S
53 7 23
retitle_required()
S
61 5 12
handle_bulk_pnx_rename_form_submit()
S
61 5 12
increment_filename()
S
55 4 21
__construct()
S
66 5 7
write_db_value()
S
52 3 28
get_filename_field()
S
58 3 17
check_post_parent()
S
60 3 13
ends_with()
S
61 3 13
serialize_if_file_exists()
S
62 3 11
add_filename_field()
S
61 3 11
print_js()
S
56 2 20
title_from_post()
S
64 3 10
rename_required()
S
64 3 10
name_from_post()
S
64 3 10
get_attachment_urls()
S
63 3 10
get_filename_from_post_parent()
S
66 2 9
get_category_from_post_parent()
S
66 2 8
starts_with()
S
66 2 8
print_css()
S
73 2 5
show_bulk_pnx_rename_success_notice()
S
71 2 5
add_filename_column_content()
S
68 2 7
frontend_support()
S
73 2 5
add_special_chars()
S
79 1 3
build_filename()
S
81 1 3
get_file_parts()
S
75 1 4
get_filename()
S
76 1 4
do_retitle()
S
76 1 4
add_filename_column()
S
77 1 4
read_db_value()
S
72 1 5
reset_bulk_rename()
S
71 1 6
filename_to_title()
S
82 1 3