Test_CMB2_REST_Controllers S

Total Complexity 20
Dependencies 4
Dependents 0
Total lines 329
Lines of code 274
Logical lines of code 109
Comment lines 9
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
test_read_box_field()
S
50 2 31
test_read_box()
S
47 1 45
test_update_bad_request_for_admin()
S
49 1 34
test_delete_bad_request_for_admin()
S
55 1 21
setUp()
S
58 1 19
test_read_box_field_filter()
S
56 1 19
auth_required_code()
S
78 2 3
test_update_authorized_for_admin()
S
59 1 14
test_delete_authorized_for_admin()
S
59 1 13
test_read_box_with_read_permissions_callback()
S
62 1 11
test_read_box_field_with_read_permissions_callback()
S
62 1 11
test_read_box_fields()
S
65 1 9
tearDown()
S
81 1 3
test_read_box_field_with_value()
S
64 1 9
test_update_unauthorized_for_subscriber()
S
69 1 6
test_read_boxes()
S
65 1 9
test_delete_unauthorized_for_subscriber()
S
64 1 9
test_get_schema()
S
67 1 8