EcwdRestApi S

Total Complexity 47
Dependencies 4
Dependents 1
Total lines 353
Lines of code 210
Logical lines of code 109
Comment lines 75
Methods 20
Properties 3

Methods 20

Method Rating Maintainability Complexity Lines of code
update_item()
A
49 7 31
add_events()
S
53 7 22
register_routes()
S
49 5 35
get_item()
S
53 4 24
parse_endpoint()
S
63 3 10
convert_data()
S
60 2 13
free_events_count()
S
62 2 11
excluded_events()
S
62 2 11
get_endpoint()
S
71 2 6
wp_unslash_conditional()
S
69 2 7
get_instance()
S
70 2 7
all_past_events()
S
70 1 6
delete_events()
S
71 1 6
get_items_permissions_check()
S
82 1 3
get_item_permissions_check()
S
80 1 3
create_item_permissions_check()
S
82 1 3
update_item_permissions_check()
S
80 1 3
delete_item_permissions_check()
S
82 1 3
prepare_item_for_database()
S
82 1 3
prepare_item_for_response()
S
82 1 3