WP_Test_WP_Job_Manager_Job_Types_Test S

Total Complexity 21
Dependencies 0
Dependents 0
Total lines 181
Lines of code 148
Logical lines of code 72
Comment lines 6
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
test_post_job_types_save_employment_type()
S
53 3 24
test_post_job_types_succeed_if_valid_employment_type()
S
56 3 18
test_employer_put_job_types_fail()
S
63 1 11
test_guest_post_job_types_fail()
S
64 1 11
test_guest_put_job_types_fail()
S
63 1 11
test_employer_post_job_types_fail()
S
64 1 11
test_wp_v2_has_job_types_route()
S
66 1 8
test_delete_succeed_as_admin_user()
S
69 1 6
test_delete_fail_as_default_user()
S
69 1 6
test_get_job_types_success()
S
73 1 5
test_employer_delete_job_types_fail()
S
69 1 6
test_guest_get_job_types_success()
S
73 1 5
test_employer_get_job_type_success()
S
70 1 6
test_employer_get_job_types_success()
S
73 1 5
test_guest_delete_job_types_fail()
S
69 1 6
test_guest_get_job_type_success()
S
70 1 6
get_job_type()
S
79 1 3