DCO_CA B

Total Complexity 82
Dependencies 1
Dependents 0
Total lines 689
Lines of code 350
Logical lines of code 208
Comment lines 268
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
form_element()
A
38 12 79
check_attachment()
A
44 13 44
display_attachment()
A
48 8 33
save_attachment()
S
46 6 41
filter_upload_mimes()
S
53 7 24
init_hooks()
S
57 5 16
is_user_can_upload()
S
64 4 10
get_gallery_image_size()
S
65 4 9
enqueue_scripts()
S
59 3 15
approve_comment()
S
68 3 7
get_upload_error()
S
59 2 14
add_attachment_field()
S
59 1 16
display_error()
S
68 2 6
is_comments_used()
S
79 2 3
is_attachment_field_enabled()
S
68 2 7
disable_gallery_image_size()
S
75 1 4
enable_gallery_image_size()
S
75 1 4
get_upload_field_name()
S
82 1 3
__construct()
S
79 1 3
is_attachment_displayed()
S
79 1 3
disable_filter_upload()
S
78 1 3
enable_filter_upload()
S
78 1 3
autoembed_links()
S
79 1 3