Total Complexity | 14 |
Dependencies | 1 |
Dependents | 0 |
Total lines | 200 |
Lines of code | 115 |
Logical lines of code | 22 |
Comment lines | 72 |
Methods | 12 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
api_register_data() | 42 | 2 | 74 | |
api_add_or_update_rating() | 72 | 2 | 5 | |
init() | 79 | 1 | 3 | |
api_validate_numeric() | 80 | 1 | 3 | |
api_required_permissions() | 80 | 1 | 3 | |
api_get_ratings() | 80 | 1 | 3 | |
api_get_rating() | 72 | 1 | 5 | |
api_delete_rating() | 79 | 1 | 3 | |
api_get_ratings_for_recipe() | 72 | 1 | 5 | |
api_delete_ratings_for_recipe() | 79 | 1 | 3 | |
api_get_rating_for_comment() | 72 | 1 | 5 | |
api_delete_rating_for_comment() | 79 | 1 | 3 |