GalleriesModel_bwg D

Total Complexity 278
Dependencies 3
Dependents 1
Total lines 1,773
Lines of code 1,431
Logical lines of code 940
Comment lines 277
Methods 33
Properties 0

Methods 33

Method Rating Maintainability Complexity Lines of code
save_image_db()
D
20
47 194
get_image_rows_data()
B
30 17 121
rotate()
B
31 17 117
save_db()
B
34 14 105
delete()
B
36 15 83
duplicate()
A
32 10 121
image_add_tag()
A
40 13 57
image_recreate_thumbnail()
A
41 13 55
image_delete()
A
39 12 62
get_rows_data()
A
41 12 58
image_resize()
A
43 11 47
set_image_pricelist()
A
45 10 37
image_set_watermark()
A
52 10 22
get_row_data()
A
45 8 41
image_edit_alt()
A
48 7 32
image_edit_redirect()
A
48 7 32
image_edit_description()
A
48 7 32
image_unpublish()
A
48 7 32
image_publish()
A
48 7 32
image_edit()
S
48 5 32
remove_pricelist_all()
S
53 4 22
image_reset()
S
54 4 19
ordering()
S
59 4 14
get_post_random_image()
S
62 3 11
save()
S
63 3 10
get_tag_rows_data()
S
62 2 11
get_images_total_size()
S
64 2 9
remove_image_pricelist()
S
67 2 7
image_rotate_left()
S
78 1 3
image_rotate_right()
S
78 1 3
total()
S
79 1 3
image_total()
S
79 1 3
delete_unknown_images()
S
74 1 4