WPRM_Api_Rating S

Total Complexity 18
Dependencies 2
Dependents 0
Total lines 232
Lines of code 137
Logical lines of code 30
Comment lines 78
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
api_register_data()
S
40 2 84
api_update_rating_for_comment()
S
61 4 12
api_add_or_update_rating()
S
71 2 5
init()
S
79 1 3
api_validate_numeric()
S
80 1 3
api_required_permissions()
S
80 1 3
api_get_ratings()
S
79 1 3
api_get_rating()
S
72 1 5
api_delete_rating()
S
78 1 3
api_get_ratings_for_recipe()
S
72 1 5
api_delete_ratings_for_recipe()
S
78 1 3
api_get_rating_for_comment()
S
72 1 5
api_delete_rating_for_comment()
S
78 1 3