MPP_Deletion_Actions_Mapper S

Total Complexity 35
Dependencies 1
Dependents 0
Total lines 329
Lines of code 128
Logical lines of code 73
Comment lines 143
Methods 14
Properties 2

Methods 14

Method Rating Maintainability Complexity Lines of code
map_before_delete_post_action()
A
48 8 33
map_before_delete_attachment_action()
S
51 6 26
map_deleted_post_action()
S
64 4 11
get_instance()
S
72 2 6
check_for_single_delete_optimization()
S
72 2 6
is_gallery()
S
71 2 6
is_media()
S
71 2 6
is_queued()
S
70 2 6
get_item_type()
S
68 2 7
__construct()
S
65 1 9
do_gallery_delete()
S
80 1 3
do_media_deleted()
S
80 1 3
add_item()
S
79 1 3
remove_item()
S
79 1 3