WC_CLI_REST_Command B

Total Complexity 79
Dependencies 5
Dependents 2
Total lines 440
Lines of code 257
Logical lines of code 152
Comment lines 132
Methods 14
Properties 6

Methods 14

Method Rating Maintainability Complexity Lines of code
do_request()
B
37 17 69
list_items()
A
44 15 43
get_filled_route()
S
56 8 15
get_item()
S
51 6 26
delete_item()
S
56 6 16
limit_item_to_fields()
S
59 5 14
get_formatter()
S
58 4 16
__construct()
S
57 4 15
get_context_fields()
S
64 4 9
decode_json()
S
63 4 10
create_item()
S
63 2 9
update_item()
S
63 2 9
set_supported_ids()
S
81 1 3
get_supported_ids()
S
82 1 3