Total Complexity | 50 |
Dependencies | 4 |
Dependents | 1 |
Total lines | 402 |
Lines of code | 248 |
Logical lines of code | 100 |
Comment lines | 93 |
Methods | 13 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
prepare_item_for_response() | 40 | 15 | 60 | |
get_item_schema() | 40 | 5 | 72 | |
get_item() | 59 | 6 | 12 | |
get_items() | 59 | 5 | 13 | |
delete_item_permissions_check() | 60 | 4 | 12 | |
get_items_permissions_check() | 61 | 3 | 11 | |
prepare_date_response() | 66 | 3 | 9 | |
register_routes() | 52 | 1 | 27 | |
__construct() | 66 | 2 | 8 | |
delete_item() | 64 | 2 | 9 | |
prepare_excerpt_response() | 68 | 2 | 7 | |
get_item_permissions_check() | 80 | 1 | 3 | |
get_collection_params() | 73 | 1 | 5 |