WC_REST_Coupons_V2_Controller S

Total Complexity 29
Dependencies 6
Dependents 0
Total lines 531
Lines of code 399
Logical lines of code 68
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 201
get_formatted_item_data()
S
44 5 47
register_routes()
S
40 1 75
prepare_object_for_response()
S
63 2 9
prepare_objects_query()
S
63 2 10
get_object()
S
80 1 3
filter_writable_props()
S
79 1 3
get_collection_params()
S
64 1 10