Image_Watermark D

Total Complexity 256
Dependencies 1
Dependents 1
Total lines 1,455
Lines of code 751
Logical lines of code 526
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 21 27
watermark_bulk_action()
B
41 18 47
apply_watermark()
B
42 18 41
save_image_metadata()
B
42 16 48
handle_upload_files()
A
47 17 29
calculate_image_coordinates()
A
44 11 47
check_imagick()
A
59 11 11
do_watermark()
A
43 8 46
__construct()
A
43 8 46
check_extensions()
A
54 9 21
update_plugin()
A
50 8 27
admin_enqueue_scripts()
A
40 6 56
get_image_metadata()
A
51 8 25
add_watermark_image()
S
49 7 29
wp_enqueue_scripts()
S
57 8 13
attachment_fields_to_edit()
S
51 6 25
get_image_resource()
S
55 6 20
remove_watermark()
S
55 5 18
calculate_watermark_dimensions()
S
56 4 18
save_image_file()
S
62 4 11
do_backup()
S
57 3 16
plugin_settings_link()
S
68 3 6
folder_writable_admin_notice()
S
66 3 9
plugin_extend_links()
S
67 3 7
check_gd()
S
72 3 5
delete_attachment()
S
70 2 6
get_safe_chunk()
S
71 2 6
deactivate_watermark()
S
75 2 4
resize()
S
62 2 10
instance()
S
73 2 5
define_constants()
S
77 1 6
__clone()
S
98 1 1
get_image_filename()
S
80 1 3
get_image_backup_folder_location()
S
70 1 6
get_image_backup_filepath()
S
80 1 3
activate_watermark()
S
74 1 4
__wakeup()
S
98 1 1
imagecopymerge_alpha()
S
68 1 6
load_textdomain()
S
78 1 3
wp_enqueue_media()
S
77 1 3