MPTBM_Rest_Api S

Total Complexity 41
Dependencies 4
Dependents 0
Total lines 401
Lines of code 323
Logical lines of code 107
Comment lines 7
Methods 18
Properties 3

Methods 18

Method Rating Maintainability Complexity Lines of code
check_rate_limit()
S
49 6 31
get_order_details()
S
50 4 30
check_request_permissions()
S
57 4 17
register_routes()
S
44 1 59
get_customer_details()
S
50 3 28
get_booking_details()
S
54 3 19
get_orders()
S
56 3 18
get_customer_bookings()
S
55 2 20
get_customers()
S
60 2 13
get_transport_services()
S
60 2 13
get_all_bookings()
S
60 2 13
prepare_transport_service()
S
57 1 16
check_booking_read_permission()
S
73 2 4
__construct()
S
73 2 5
prepare_booking_data()
S
60 1 13
prepare_order_data()
S
63 1 11
is_api_enabled()
S
78 1 3
prepare_customer_data()
S
64 1 10