wpforo\modules\reactions\Reactions C

Total Complexity 119
Dependencies 3
Dependents 4
Total lines 536
Lines of code 376
Logical lines of code 235
Comment lines 84
Methods 37
Properties 3

Methods 37

Method Rating Maintainability Complexity Lines of code
filter_reactions()
B
42 21 56
build_sql_wheres()
A
53 13 17
decode_item()
A
58 10 13
delete()
S
56 7 14
_get_reaction()
S
60 6 11
build_sql_select()
S
59 6 11
edit()
S
58 4 15
get_post_reactions_and_cache()
S
62 4 11
create_reaction_cache()
S
69 4 6
get_post_reactions_cache()
S
67 4 7
init_defaults()
S
48 1 40
edit_for_all_active_boards()
S
67 3 8
delete_for_all_active_boards()
S
67 3 8
get_user_reaction()
S
66 3 8
add()
S
59 2 15
decode()
S
60 2 12
get_types()
S
54 1 21
get_post_reactions_user_dnames()
S
57 1 20
get_likes_for_topic()
S
65 2 9
is_reacted()
S
68 2 6
_get_reactions_col()
S
70 2 5
_get_count()
S
71 2 5
get_sum()
S
73 2 4
parse_args()
S
61 1 12
get_user_reaction_reaction()
S
75 1 4
get_post_reactions_count()
S
78 1 3
__construct()
S
78 1 4
get_received_reactions_count()
S
78 1 3
get_reacted_count()
S
78 1 3
get_count()
S
78 1 3
get_reactions_col()
S
77 1 3
get_reactions()
S
78 1 3
init_classes()
S
76 1 4
get_reaction()
S
78 1 3
encode()
S
80 1 3
get_type_list()
S
80 1 3
_get_reactions()
S
76 1 3