WPRM_Comment_Rating S

Total Complexity 45
Dependencies 6
Dependents 6
Total lines 350
Lines of code 186
Logical lines of code 110
Comment lines 114
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
save_comment_rating()
S
60 6 12
get_ratings_for()
S
51 5 26
add_or_update_rating_for()
S
54 4 23
get_rating_for()
S
55 4 21
add_stars_to_comment()
S
58 4 15
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
54 1 20
update_comment_ratings_bulk()
S
73 2 5
wpdiscuz_compatibility()
S
74 2 5
add_rating_field_to_comments_legacy()
S
73 2 5
add_rating_field_to_thrive_comments()
S
80 1 3
add_rating_field_to_comments()
S
72 1 5
add_rating_field_to_admin_comments()
S
76 1 3
add_rating_field_to_admin_comments_form()
S
69 1 6
update_comment_rating_on_change()
S
72 1 5