GalleriesModel_bwg D

Total Complexity 231
Dependencies 3
Dependents 1
Total lines 1,525
Lines of code 1,229
Logical lines of code 779
Comment lines 239
Methods 32
Properties 0

Methods 32

Method Rating Maintainability Complexity Lines of code
save_image_db()
D
23
40 168
get_image_rows_data()
B
30 17 122
rotate()
B
33 16 100
save_db()
A
35 12 94
get_rows_data()
A
41 12 58
duplicate()
A
33 8 117
image_add_tag()
A
41 11 53
image_delete()
A
41 10 54
image_recreate_thumbnail()
A
44 10 41
set_image_pricelist()
A
45 10 37
image_resize()
A
47 8 33
delete()
A
45 7 44
image_set_watermark()
A
53 8 20
get_row_data()
S
47 5 35
image_edit()
S
50 5 28
image_edit_redirect()
S
52 5 24
image_edit_description()
S
52 5 24
image_edit_alt()
S
52 5 24
image_publish()
S
52 5 24
image_unpublish()
S
52 5 24
image_reset()
S
55 4 19
remove_pricelist_all()
S
56 4 18
ordering()
S
59 4 14
get_post_random_image()
S
62 3 11
save()
S
64 3 9
get_tag_rows_data()
S
62 2 11
remove_image_pricelist()
S
67 2 7
image_rotate_right()
S
78 1 3
image_rotate_left()
S
78 1 3
total()
S
79 1 3
image_total()
S
79 1 3
delete_unknown_images()
S
74 1 4