WC_REST_Coupons_V2_Controller S

Total Complexity 29
Dependencies 5
Dependents 0
Total lines 524
Lines of code 392
Logical lines of code 67
Comment lines 96
Methods 9
Properties 3

Methods 9

Method Rating Maintainability Complexity Lines of code
prepare_object_for_database()
A
43 15 41
get_item_schema()
A
29 1 196
get_formatted_item_data()
S
45 5 46
register_routes()
S
40 1 75
prepare_object_for_response()
S
63 2 9
prepare_objects_query()
S
65 2 9
get_object()
S
80 1 3
filter_writable_props()
S
79 1 3
get_collection_params()
S
64 1 10