WPRM_Comment_Rating A

Total Complexity 63
Dependencies 6
Dependents 8
Total lines 463
Lines of code 245
Logical lines of code 150
Comment lines 147
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
get_ratings_for()
A
48 8 33
save_comment_rating()
S
57 8 15
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
update_cached_rating()
S
65 3 10
init()
S
52 1 24
comments_list_sort()
S
68 2 7
add_rating_field_to_comments_legacy()
S
73 2 5
wpdiscuz_compatibility()
S
74 2 5
update_comment_ratings_bulk()
S
73 2 5
add_rating_field_to_admin_comments()
S
76 1 3
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_comments()
S
72 1 5