WP_Document_Revisions D

Total Complexity 363
Dependencies 13
Dependents 20
Total lines 3,113
Lines of code 1,487
Logical lines of code 861
Comment lines 1,156
Methods 79
Properties 8

Methods 79

Method Rating Maintainability Complexity Lines of code
serve_file()
D
21
47 194
verify_post_type()
A
48 16 30
hide_exist_doc_attach_slug()
A
45 13 40
add_caps()
A
37 6 98
serve_document_auth()
A
56 11 16
hide_doc_attach_slug()
A
48 9 30
register_cpt()
A
39 7 59
document_upload_dir()
A
51 9 26
__construct()
A
39 5 64
posts_results()
S
51 7 28
permalink()
S
49 7 28
filename_rewrite()
S
50 7 28
rewrite_file_url()
S
51 7 27
document_upload_dir_filter()
S
47 6 38
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
49 6 29
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
attachment_url_filter()
S
53 5 25
post_status_column_cb()
S
51 5 25
get_revision_indices()
S
53 5 24
get_documents()
S
53 5 24
review_count_statuses()
S
54 5 20
image_downsize()
S
56 5 18
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
initialize_workflow_states()
S
52 3 27
get_document()
S
62 4 11
register_term_count_cb()
S
58 3 16
admin_init()
S
65 4 9
hijack_feed()
S
67 4 7
activation_error_notice()
S
61 3 14
sample_permalink_html_filter()
S
63 3 11
manage_rest()
S
63 3 11
disable_workflow_states()
S
63 3 10
content_filter()
S
67 3 9
no_title_prepend()
S
68 3 7
redirect_canonical_filter()
S
64 3 10
suppress_adjacent_doc()
S
66 3 9
get_extension()
S
68 2 7
get_revision_id()
S
74 2 4
remove_old_rules()
S
68 2 7
attachment_link_filter()
S
71 2 6
document_slug()
S
69 2 7
get_latest_revision_url()
S
63 2 10
activation_hook()
S
69 2 7
serve_headers()
S
69 2 6
get_revision_number()
S
66 2 8
send_override_notice()
S
57 1 14
revision_rewrite()
S
58 1 14
term_count_query_filter()
S
79 1 3
term_count_cb()
S
72 1 5
wamp_document_path_filter()
S
74 1 4
clear_document_dir_cache()
S
80 1 3
format_doc_id()
S
79 1 3
use_workflow_states()
S
79 1 3
add_qv_workflow_state()
S
77 1 4
add_post_status_column()
S
69 1 6
i18n()
S
77 1 3
set_default_dir_cache()
S
71 1 5
do_feed_revision_log()
S
70 1 6
clear_cache()
S
76 1 4
inject_rules()
S
75 1 4
taxonomy_key()
S
80 1 3
add_query_var()
S
74 1 5
get_latest_version_url()
S
75 1 4
get_latest_version()
S
75 1 4
is_doc_image()
S
81 1 3