WPRM_Comment_Rating A

Total Complexity 69
Dependencies 7
Dependents 8
Total lines 496
Lines of code 263
Logical lines of code 162
Comment lines 156
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
get_ratings_for()
A
48 8 33
save_comment_rating()
A
55 9 17
update_cached_rating()
S
56 6 18
add_stars_to_comment()
S
55 5 19
comments_list_columns()
S
58 5 15
add_or_update_rating_for()
S
54 4 23
get_rating_for()
S
55 4 21
comments_list_column()
S
57 4 16
add_rating_field_to_comment_form()
S
58 3 16
save_admin_comment_rating()
S
68 4 6
init()
S
51 1 25
comments_list_sort()
S
68 2 7
add_rating_field_to_comments_legacy()
S
73 2 5
wpdiscuz_compatibility()
S
74 2 5
delete_comment_rating()
S
70 2 7
update_comment_ratings_bulk()
S
73 2 5
add_rating_field_to_comments()
S
72 1 5
add_rating_field_to_admin_comments_form()
S
71 1 5
add_rating_field_to_thrive_comments()
S
80 1 3
comments_list_sortable_columns()
S
76 1 4
update_comment_rating_on_change()
S
72 1 5
add_rating_field_to_admin_comments()
S
76 1 3