WC_REST_System_Status_Tools_V2_Controller A

Total Complexity 54
Dependencies 8
Dependents 0
Total lines 638
Lines of code 473
Logical lines of code 169
Comment lines 112
Methods 14
Properties 2

Methods 14

Method Rating Maintainability Complexity Lines of code
execute_tool()
D
26
27 169
get_tools()
A
35 6 105
get_item_schema()
S
44 1 55
register_routes()
S
48 1 39
update_item()
S
55 2 19
get_items()
S
57 2 18
get_item()
S
56 2 18
get_printable_callback_name()
S
65 3 9
get_items_permissions_check()
S
69 2 6
get_item_permissions_check()
S
69 2 6
update_item_permissions_check()
S
69 2 6
prepare_item_for_response()
S
65 2 8
prepare_links()
S
64 1 10
get_collection_params()
S
73 1 5