WP_Document_Revisions D

Total Complexity 397
Dependencies 14
Dependents 6
Total lines 3,451
Lines of code 1,633
Logical lines of code 955
Comment lines 1,312
Methods 85
Properties 9

Methods 85

Method Rating Maintainability Complexity Lines of code
serve_file()
D
21
45 190
hide_exist_doc_attach_slug()
B
40 16 55
verify_post_type()
A
48 16 30
hide_doc_attach_slug()
A
43 11 47
add_caps()
A
37 7 101
serve_document_auth()
A
56 11 16
__construct()
A
37 6 74
permalink()
A
48 9 29
register_cpt()
A
39 6 62
filename_rewrite()
A
48 8 31
rewrite_file_url()
A
50 8 28
document_upload_dir()
A
53 8 23
document_upload_dir_filter()
A
48 7 34
posts_results()
S
52 7 26
get_file_type()
S
54 7 22
get_latest_revision()
S
54 7 22
override_lock()
S
55 7 18
retrieve_documents()
S
58 7 14
get_revisions()
S
50 6 29
attachment_url_filter()
S
51 6 28
get_attachments()
S
51 6 28
validate_feed_key()
S
51 6 25
add_revision_num_to_title()
S
55 6 20
edit_flow_support()
S
54 6 20
get_document_lock()
S
57 6 18
ie_cache_fix()
S
59 6 13
post_status_column_cb()
S
51 5 25
update_post_slug_field()
S
51 5 24
get_revision_indices()
S
53 5 24
get_documents()
S
53 5 24
review_count_statuses()
S
55 5 18
image_downsize()
S
56 5 18
publishpress_statuses_support()
S
56 5 16
get_doc_mimetype()
S
58 5 15
publishpress_support()
S
58 5 15
register_ct()
S
46 3 39
get_revision_query()
S
56 4 18
empty_excerpt_return()
S
63 5 10
revision_feed_auth()
S
66 5 8
extract_document_id()
S
61 4 13
check_doc_attach()
S
62 4 12
initialize_workflow_states()
S
52 3 27
get_document()
S
62 4 11
activation_error_notice()
S
58 3 17
register_term_count_cb()
S
58 3 16
admin_init()
S
65 4 9
hijack_feed()
S
67 4 7
add_post_status_column()
S
60 3 13
sample_permalink_html_filter()
S
63 3 11
manage_rest()
S
63 3 11
no_title_prepend()
S
68 3 7
disable_workflow_states()
S
63 3 10
redirect_canonical_filter()
S
64 3 10
get_attached_file_filter()
S
64 3 10
suppress_adjacent_doc()
S
66 3 9
content_filter()
S
67 3 9
revision_rewrite()
S
55 1 17
activation_hook()
S
69 2 7
get_revision_id()
S
74 2 4
attachment_link_filter()
S
71 2 6
serve_headers()
S
69 2 6
get_extension()
S
68 2 7
get_latest_revision_url()
S
63 2 10
document_slug()
S
69 2 7
remove_old_rules()
S
68 2 7
get_revision_number()
S
66 2 8
send_override_notice()
S
57 1 14
document_upload_dir_set()
S
60 1 13
i18n()
S
77 1 3
get_latest_version()
S
75 1 4
generate_rewrite_rules()
S
76 1 4
get_latest_version_url()
S
75 1 4
add_query_var()
S
74 1 5
term_count_cb()
S
72 1 5
taxonomy_key()
S
80 1 3
term_count_query_filter()
S
79 1 3
wamp_document_path_filter()
S
74 1 4
mod_rewrite_rules()
S
71 1 5
format_doc_id()
S
79 1 3
inject_rules()
S
75 1 4
clear_cache()
S
73 1 5
use_workflow_states()
S
79 1 3
do_feed_revision_log()
S
70 1 6
add_qv_workflow_state()
S
77 1 4
is_doc_image()
S
81 1 3