DCO_CA C

Total Complexity 102
Dependencies 3
Dependents 0
Total lines 913
Lines of code 475
Logical lines of code 265
Comment lines 340
Methods 28
Properties 1

Methods 28

Method Rating Maintainability Complexity Lines of code
form_element()
B
35 15 97
check_attachment()
A
40 13 66
generate_attachment_markup()
A
47 9 35
save_attachment()
A
45 7 43
filter_upload_mimes()
S
53 7 24
init_hooks()
S
52 6 22
dco_ca_shortcode()
S
49 5 33
display_attachment()
S
62 4 11
add_rest_api_links()
S
58 3 17
enqueue_scripts()
S
58 3 16
is_user_can_upload()
S
64 4 10
get_gallery_image_size()
S
65 4 9
get_upload_error()
S
59 2 14
add_attachment_field()
S
59 1 17
save_rest_api_attachment()
S
71 2 6
approve_comment()
S
69 2 7
display_attachment_error()
S
63 2 9
is_comments_used()
S
79 2 3
is_attachment_field_enabled()
S
68 2 7
autoembed_links()
S
79 1 3
enable_filter_upload()
S
78 1 3
disable_filter_upload()
S
78 1 3
is_attachment_displayed()
S
79 1 3
is_attachment_checked()
S
82 1 3
get_upload_field_name()
S
82 1 3
enable_gallery_image_size()
S
75 1 4
disable_gallery_image_size()
S
75 1 4
__construct()
S
79 1 3