Image_Watermark D

Total Complexity 259
Dependencies 1
Dependents 1
Total lines 1,471
Lines of code 762
Logical lines of code 537
Comment lines 398
Methods 41
Properties 9

Methods 41

Method Rating Maintainability Complexity Lines of code
bulk_admin_notices()
B
43 22 36
watermark_action_ajax()
B
47 20 27
watermark_bulk_action()
B
41 18 47
apply_watermark()
B
42 18 41
save_image_metadata()
B
42 17 48
handle_upload_files()
A
48 16 29
calculate_image_coordinates()
A
44 11 47
check_imagick()
A
59 11 11
__construct()
A
43 8 46
do_watermark()
A
43 8 46
check_extensions()
A
54 9 21
add_watermark_image()
A
47 8 32
update_plugin()
A
50 8 27
admin_enqueue_scripts()
A
40 6 56
get_image_metadata()
A
51 8 25
get_image_resource()
A
52 8 25
wp_enqueue_scripts()
S
57 8 13
attachment_fields_to_edit()
S
51 6 25
remove_watermark()
S
55 5 18
save_image_file()
S
59 5 14
calculate_watermark_dimensions()
S
56 4 18
do_backup()
S
57 3 16
check_gd()
S
72 3 5
folder_writable_admin_notice()
S
66 3 9
plugin_settings_link()
S
68 3 6
plugin_extend_links()
S
67 3 7
instance()
S
73 2 5
deactivate_watermark()
S
75 2 4
get_safe_chunk()
S
71 2 6
delete_attachment()
S
70 2 6
resize()
S
62 2 10
__clone()
S
98 1 1
__wakeup()
S
98 1 1
define_constants()
S
77 1 6
activate_watermark()
S
74 1 4
load_textdomain()
S
78 1 3
wp_enqueue_media()
S
77 1 3
get_image_filename()
S
80 1 3
get_image_backup_folder_location()
S
70 1 6
get_image_backup_filepath()
S
80 1 3
imagecopymerge_alpha()
S
68 1 6