WP_Test_REST_Taxonomies_Controller S

Total Complexity 18
Dependencies 2
Dependents 0
Total lines 130
Lines of code 98
Logical lines of code 63
Comment lines 11
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
test_get_items()
S
59 2 13
test_get_item_schema()
S
59 1 14
test_register_routes()
S
73 1 5
test_get_taxonomies_with_types()
S
70 1 6
test_get_item()
S
72 1 5
test_get_invalid_taxonomy()
S
72 1 5
test_get_non_public_taxonomy()
S
69 1 6
test_create_item()
S
91 1 2
test_update_item()
S
91 1 2
test_delete_item()
S
91 1 2
test_prepare_item()
S
70 1 6
tearDown()
S
81 1 3
is_public()
S
80 1 3
get_public_taxonomies()
S
78 1 3
check_taxonomy_object()
S
68 1 7
check_taxonomy_object_response()
S
66 1 8
check_taxonomies_for_type_response()
S
66 1 8