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