WC_REST_Fulfillments_V4_Controller S

Total Complexity 47
Dependencies 11
Dependents 0
Total lines 688
Lines of code 469
Logical lines of code 107
Comment lines 163
Methods 23
Properties 3

Methods 23

Method Rating Maintainability Complexity Lines of code
check_permission_for_fulfillments()
B
39 16 63
get_write_args_for_fulfillment()
S
44 2 53
get_read_schema_for_fulfillment()
S
43 1 64
create_fulfillment()
S
54 3 21
get_fulfillment()
S
54 3 21
update_fulfillment()
S
54 3 21
get_fulfillments()
S
55 3 20
register_routes()
S
46 1 49
get_schema_for_meta_data()
S
52 1 28
get_authentication_error_by_method()
S
53 1 25
get_args_for_delete_fulfillment()
S
58 1 17
get_schema_for_delete_fulfillment()
S
62 1 12
__construct()
S
80 1 3
delete_fulfillment()
S
68 1 7
get_args_for_get_fulfillments()
S
64 1 10
get_schema_for_get_fulfillments()
S
64 1 10
get_args_for_create_fulfillment()
S
80 1 3
get_schema_for_create_fulfillment()
S
70 1 6
get_args_for_get_fulfillment()
S
64 1 10
get_schema_for_get_fulfillment()
S
70 1 6
get_args_for_update_fulfillment()
S
80 1 3
get_schema_for_update_fulfillment()
S
68 1 7
prepare_error_response()
S
65 1 10