WP_Document_Revisions D

Total Complexity 234
Dependencies 6
Dependents 5
Total lines 2,310
Lines of code 1,037
Logical lines of code 565
Comment lines 804
Methods 61
Properties 7

Methods 61

Method Rating Maintainability Complexity Lines of code
serve_file()
C
31 26 101
verify_post_type()
A
48 16 31
add_caps()
A
37 6 98
document_upload_dir()
A
51 9 26
filename_rewrite()
S
50 7 28
rewrite_file_url()
S
51 7 27
permalink()
S
49 7 27
document_upload_dir_filter()
S
47 6 38
get_file_type()
S
54 7 22
edit_flow_support()
S
54 7 21
override_lock()
S
55 7 18
get_attachments()
S
51 6 28
add_revision_num_to_title()
S
55 6 20
get_document_lock()
S
57 6 18
register_cpt()
S
42 4 47
get_revisions()
S
50 5 29
ie_cache_fix()
S
59 6 13
serve_document_auth()
S
62 6 12
get_latest_revision()
S
57 5 18
attachment_url_filter()
S
56 5 18
get_revision_indices()
S
55 4 21
get_documents()
S
57 4 18
revision_feed_auth()
S
66 5 8
validate_feed_key()
S
58 4 14
initialize_workflow_states()
S
52 3 27
hijack_feed()
S
67 4 7
image_downsize()
S
58 3 15
__construct()
S
44 1 42
sample_permalink_html_filter()
S
63 3 11
activation_error_notice()
S
62 2 15
content_filter()
S
67 3 9
admin_init()
S
67 3 7
register_ct()
S
50 1 29
register_term_count_cb()
S
62 2 12
get_revision_query()
S
63 2 11
disable_workflow_states()
S
68 2 7
redirect_canonical_filter()
S
72 2 6
no_title_prepend()
S
69 2 7
get_latest_revision_url()
S
63 2 10
attachment_link_filter()
S
71 2 6
document_slug()
S
69 2 7
activation_hook()
S
69 2 7
get_revision_id()
S
74 2 4
get_revision_number()
S
66 2 8
get_extension()
S
68 2 7
send_override_notice()
S
57 1 14
revision_rewrite()
S
61 1 11
do_feed_revision_log()
S
70 1 6
wamp_document_path_filter()
S
74 1 4
i18n()
S
77 1 3
clear_document_dir_cache()
S
80 1 3
term_count_query_filter()
S
79 1 3
term_count_cb()
S
72 1 5
use_workflow_states()
S
79 1 3
set_default_dir_cache()
S
71 1 5
inject_rules()
S
75 1 4
clear_cache()
S
73 1 5
add_query_var()
S
74 1 5
get_latest_version()
S
75 1 4
get_latest_version_url()
S
75 1 4
is_doc_image()
S
81 1 3