Total Complexity | 28 |
Dependencies | 4 |
Dependents | 1 |
Total lines | 250 |
Lines of code | 130 |
Logical lines of code | 48 |
Comment lines | 89 |
Methods | 8 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
check_read_permission() | 53 | 10 | 23 | |
get_items() | 49 | 9 | 29 | |
check_is_post_type_allowed() | 65 | 4 | 9 | |
get_item_params() | 49 | 1 | 35 | |
register_routes() | 56 | 1 | 22 | |
__construct() | 77 | 1 | 4 | |
permissions_check() | 79 | 1 | 3 | |
prepare_item() | 72 | 1 | 5 |