| Total Complexity | 19 | 
| Dependencies | 7 | 
| Dependents | 0 | 
| Total lines | 221 | 
| Lines of code | 123 | 
| Logical lines of code | 42 | 
| Comment lines | 71 | 
| Methods | 13 | 
| Properties | 1 | 
| Method | Rating | Maintainability | Complexity | Lines of code | 
|---|---|---|---|---|
| preview() | 45 | 4 | 47 | |
| get_collection_params() | 56 | 1 | 21 | |
| register_routes() | 57 | 1 | 17 | |
| preview_permissions_check() | 72 | 2 | 6 | |
| update_item_permissions_check() | 75 | 2 | 5 | |
| delete_item_permissions_check() | 75 | 2 | 5 | |
| __construct() | 77 | 1 | 4 | |
| hooks() | 82 | 1 | 3 | |
| get_items_permissions_check() | 80 | 1 | 3 | |
| disconnect_permissions_check() | 80 | 1 | 3 | |
| get_item_permissions_check() | 80 | 1 | 3 | |
| prepare_item_for_database() | 82 | 1 | 3 | |
| prepare_item_for_response() | 82 | 1 | 3 |