| Total Complexity | 45 |
| Dependencies | 6 |
| Dependents | 1 |
| Total lines | 420 |
| Lines of code | 219 |
| Logical lines of code | 128 |
| Comment lines | 122 |
| Methods | 14 |
| Properties | 0 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| sanitize_query_parameters() | 23 | 137 | ||
| get_items() | 54 | 5 | 21 | |
| check_is_post_allowed() | 65 | 3 | 9 | |
| plugin_compatibility_after_query() | 72 | 3 | 5 | |
| get_response() | 66 | 2 | 7 | |
| __construct() | 72 | 1 | 5 | |
| register_routes() | 68 | 1 | 7 | |
| get_items_permissions_check() | 79 | 1 | 3 | |
| build_query() | 68 | 1 | 7 | |
| _get_allowed_post_status() | 75 | 1 | 4 | |
| check_is_post_status_allowed() | 79 | 1 | 3 | |
| _get_allowed_post_types() | 74 | 1 | 4 | |
| check_is_post_type_allowed() | 79 | 1 | 3 | |
| plugin_compatibility_args() | 77 | 1 | 4 |