WC_REST_Coupons_V1_Controller S

Total Complexity 43
Dependencies 7
Dependents 0
Total lines 558
Lines of code 392
Logical lines of code 109
Comment lines 115
Methods 11
Properties 3

Methods 11

Method Rating Maintainability Complexity Lines of code
prepare_item_for_database()
A
43 15 45
prepare_item_for_response()
A
42 9 51
get_item_schema()
A
32 1 153
update_item()
S
53 5 20
register_routes()
S
41 1 67
save_coupon()
S
59 4 14
create_item()
S
54 3 19
query_args()
S
68 2 7
__construct()
S
77 1 3
filter_writable_props()
S
79 1 3
get_collection_params()
S
64 1 10