Total Complexity | 41 |
Dependencies | 6 |
Dependents | 1 |
Total lines | 397 |
Lines of code | 200 |
Logical lines of code | 115 |
Comment lines | 120 |
Methods | 12 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_items() | 25 | 146 | ||
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 | |
_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 |