WP_REST_GamiPress_Posts_Controller S

Total Complexity 35
Dependencies 4
Dependents 1
Total lines 473
Lines of code 285
Logical lines of code 130
Comment lines 121
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
get_items()
B
34 15 90
get_collection_params()
A
35 3 113
prepare_items_query()
S
56 6 16
get_allowed_query_vars()
S
49 4 34
validate_user_can_query_private_statuses()
S
58 4 15
__construct()
S
77 1 4
register_routes()
S
64 1 10
get_items_permissions_check()
S
82 1 3