MaxGalleriaImageGallery D

Total Complexity 181
Dependencies 0
Dependents 1
Total lines 975
Lines of code 618
Logical lines of code 472
Comment lines 113
Methods 24
Properties 10

Methods 24

Method Rating Maintainability Complexity Lines of code
get_thumb_size()
C
40 33 42
download_image_attach_to_gallery()
C
29 25 132
resize_image()
B
38 15 73
add_media_library_images_to_gallery()
A
39 13 60
mg_delete_attachment()
A
44 13 37
remove_bulk_images_from_gallery()
A
48 10 32
include_bulk_images_in_gallery()
A
49 10 29
exclude_bulk_images_from_gallery()
A
49 10 29
reorder_images()
S
51 7 24
remove_single_image_from_gallery()
S
55 5 19
include_single_image_in_gallery()
S
57 5 16
exclude_single_image_from_gallery()
S
57 5 16
crop_image2()
S
59 5 14
check_for_duplicate_attachment()
S
55 4 20
get_image_size_display()
S
65 4 8
crop_image()
S
63 4 10
removeProtocol()
S
64 4 9
setup_hooks()
S
55 1 20
mg_remote_file_exists()
S
70 2 6
getS3BucketUrl()
S
66 2 8
get_thumb_image()
S
71 1 5
show_meta_box_shortcodes()
S
82 1 3
show_meta_box_gallery()
S
82 1 3
__construct()
S
82 1 3