Total Complexity | 42 |
Dependencies | 5 |
Dependents | 1 |
Total lines | 464 |
Lines of code | 276 |
Logical lines of code | 116 |
Comment lines | 122 |
Methods | 16 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
create_item() | 42 | 10 | 46 | |
is_valid_order_id() | 59 | 5 | 14 | |
delete_item() | 54 | 4 | 20 | |
prepare_item_for_response() | 54 | 3 | 21 | |
get_items() | 57 | 3 | 16 | |
get_item() | 57 | 3 | 16 | |
get_item_schema() | 46 | 1 | 46 | |
register_routes() | 47 | 1 | 44 | |
prepare_links() | 58 | 1 | 16 | |
get_items_permissions_check() | 69 | 2 | 6 | |
create_item_permissions_check() | 69 | 2 | 6 | |
get_item_permissions_check() | 68 | 2 | 6 | |
delete_item_permissions_check() | 68 | 2 | 6 | |
set_namespace() | 77 | 1 | 4 | |
get_providers() | 76 | 1 | 4 | |
get_collection_params() | 73 | 1 | 5 |