WC_REST_Webhooks_V1_Controller A

Total Complexity 64
Dependencies 7
Dependents 0
Total lines 758
Lines of code 478
Logical lines of code 177
Comment lines 188
Methods 18
Properties 3

Methods 18

Method Rating Maintainability Complexity Lines of code
update_item()
A
43 12 44
get_items()
A
42 8 48
create_item()
A
46 9 33
prepare_item_for_database()
S
54 6 19
delete_item()
S
53 6 19
register_routes()
S
39 1 87
get_item_schema()
S
40 1 78
prepare_item_for_response()
S
51 4 24
get_collection_params()
S
41 1 67
get_items_permissions_check()
S
69 2 6
batch_items_permissions_check()
S
69 2 6
delete_item_permissions_check()
S
69 2 6
update_item_permissions_check()
S
69 2 6
get_item_permissions_check()
S
69 2 6
create_item_permissions_check()
S
69 2 6
get_item()
S
63 2 9
prepare_links()
S
63 1 11
get_default_api_version()
S
82 1 3